Hi, I have a directory script which I want to use but the urls are not what I want.
The different categories have the url like “dir/3/1.php” but I want something like “dir/shopping” and “dir/shopping/gifts” where the directory category is in the url.
this is the htaccess file ;
Options +FollowSymLinks
RewriteEngine On
RewriteRule (.*)dir/(.+)/(.+).php /$1index.php?c=$2-$3
RewriteRule (.*)dir/(.+)/(.+)/(.+).php /$1index.php?c=$2-$3&s=$4
RewriteRule (.*)add/(.+)/(.+).php /$1add_url.php?c=$2-$3
RewriteRule (.*)suggest/(.+)/(.+).php /$1suggest_category.php?c=$2-$3