[eluser]John_Betong[/eluser]
[quote author="Jelmer" date="1233949446"]
Links generated by CI functions like anchor() should include it. Adding the suffix doesn't make CI auto add it to your URLs while accessing them, only through functions.
In my case the requests are accepted only if the include the .html suffix because of my .htaccess:
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*).html$ /index.php?/$1
[/quote]
I am in the process of trying to change an existing site using the config.php URL suffix ".html"
Most of the site is now working but a new hurdle has arisen because of REMOTE URLs without any extension. (The old site had no index.php, etc)
I have tried without success in re-routing these URLs but they fall over in the .htaccess file and never even reach the hidden index.php.
I use the following .htaccess code:
Code:
RewriteRule ^(.*).html$ /index.php?/$1
[/code]
I have unsuccessfully searched for a .htaccess solution and would be gratefult if anyone can supply the .htaccess code to append .html to the offending REMOTE URLs