Sean
Don't Worry, Be Happy
Having some problems with .htaccess!
Here is my situation.
I am loading all my pages through the index page, so instead of my URL being:
It is:
I am using htaccess to make this URL clean so with htaccess just now I have gotten it to be
Now my aim is to get rid of the .php extension from that link to make it simply:
Here is my htaccess code just now making it
Here is my situation.
I am loading all my pages through the index page, so instead of my URL being:
You must be registered for see links
It is:
You must be registered for see links
I am using htaccess to make this URL clean so with htaccess just now I have gotten it to be
You must be registered for see links
Now my aim is to get rid of the .php extension from that link to make it simply:
You must be registered for see links
Here is my htaccess code just now making it
You must be registered for see links
Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteCond %{REQUEST_URI} !/$
RewriteRule (.*) $1\.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d