CodeIgniter Forums
URL Suffix HELP - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: URL Suffix HELP (/showthread.php?tid=4922)



URL Suffix HELP - El Forum - 12-23-2007

[eluser]richman[/eluser]
Hi,

I am coding a site and need the ability to have one page with a .php suffix as I am using Paymate and it does not work unless they post back to a dynamic page.

I want to keep the remainder of the site .html.

Does anybody know how to do this maybe a hook.


URL Suffix HELP - El Forum - 12-24-2007

[eluser]Muhammad Faisal Shabbir[/eluser]
For this you have to change ur .htaccess file.


URL Suffix HELP - El Forum - 12-24-2007

[eluser]Sarfaraz Momin[/eluser]
What Mohd means is that you can redirect it to any php page and then configure you .htaccess to check if that php page is called and mod rewrite the url to the relevant page in CI.

Hope it makes sense.

Good Day !!!