Trying to get SEO Friendly URLs to work for my website using the following htaccess:
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^explore/(.*)$ index.php?page=explore&type=$1
RewriteRule ^(.*)$ index.php?page=$1
E.g. it should load /index.php?page=test
for /test/
and /index.php?page=explore&type=1
for /explore/1
.
However it's not working, does anyone know how I could get this to work?