Sunday, March 2, 2014

[Codeigniter] Show .html extension in URL

The way was found at Stackoverflow, Answered by Peter

Go to your codeigniter directory and look for the config.php file
/application/config/config.php

Go to line 60 and change the linr to this:

$config['url_suffix'] = '.html';

Line to edit was highlightedat the image below:

 


Reference:
http://stackoverflow.com/questions/5309490/how-do-i-render-php-url-with-html-extension


No comments :

Post a Comment