![]() |
Redirect from save.php to /save - 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: Redirect from save.php to /save (/showthread.php?tid=4883) |
Redirect from save.php to /save - El Forum - 12-21-2007 [eluser]codeamatic[/eluser] I have a flash application embedded in my php application. The problem is that the original flash developer hardcoded it so that data being saved from the flash application was saved to "save.php", is there a way to use .htaccess to redirect any requests for save.php to /save I looked at a few examples for .htaccess but it looks like they were using a full url for the new url...unfortunately, the application i am building has several subdomains, so i can't just list the full url.... Redirect from save.php to /save - El Forum - 12-21-2007 [eluser]andyd[/eluser] yes there is, look up ".htaccess 301". This page answers your query - http://www.isitebuild.com/301-redirect.htm alternatively, you could put a save.php file with a php header function to redirect it to the new page. HTH Andy |