Code: Select all
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^/]+)/?$ /$1.php/ [L]mydomain.com/partners.php to
mydomain.com/partners/
When I put:
mydomain.com/partners
everything shows up fine,
when adding a slash
mydomain.com/partners/
It's gonna look for the images and stylesheet in the /partners/ folder, which doesn't exist off course,
anyone knows how to fix this?