Welcome Guest, Not a member yet? Register   Sign In
Redirect from save.php to /save
#1

[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....
#2

[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




Theme © iAndrew 2016 - Forum software by © MyBB