View Single Post
Old 08-29-2011, 06:57 AM   PM User | #2
Cags
New Coder

 
Join Date: Jul 2011
Posts: 67
Thanks: 0
Thanked 13 Times in 13 Posts
Cags is an unknown quantity at this point
Change the URL's on your site to look like what you want them to be, then do something along the lines of...

Code:
RewriteCond %{REQUEST_URI} !-f
RewriteCond %{REQUEST_URI} !-d
RewriteRule ^([^/])/?$ /$1.php [L]

RewriteCond %{REQUEST_URI} !-f
RewriteCond %{REQUEST_URI} !-d
RewriteRule ^([^/])/([^/])/?$ /$1-$2.php [L]
Cags is offline   Reply With Quote