page urls ending in htm? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: page urls ending in htm? (/showthread.php?tid=25479) |
page urls ending in htm? - El Forum - 12-13-2009 [eluser]andychurchill[/eluser] I'm porting an existing website to the codeigniter framework, so it already has page urls indexed and ranked on google. for that reason, I want to try and keep those existing urls working, and not have to create new urls for the new pages. So far, for example, I've got controllers and a htaccess file that converts: http://www.mydomain.com/index.php/somecontroller into http:// www.mydomain.com/somecontroller, but ideally I now need it to appear to be a page like http:// www.mydomain.com/somecontroller.htm? Is this possible? page urls ending in htm? - El Forum - 12-13-2009 [eluser]bhbutter123[/eluser] yes, in the config file you will see a part asking what you want the suffix to be, this will add .htm if you set it to .htm |