Hi,
I am using all HTML pages and want to hide the extension for all the pages..I have added this code in .HTACCESS file:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
So when I browse the web pages without HTML it will work but when I browse the page with .HTML extension it is also working...I want it to be redirect without extension page..how can I do that?
Thanks,
Shane G.
I am using all HTML pages and want to hide the extension for all the pages..I have added this code in .HTACCESS file:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
So when I browse the web pages without HTML it will work but when I browse the page with .HTML extension it is also working...I want it to be redirect without extension page..how can I do that?
Thanks,
Shane G.