Hi, I'm going to move an existing site on another server to Dreamhost. Currently, this site is running ASP, but I'm migrating its contents to Wordpress.
To help the current visitors and web robots find the new pages, I need some way to redirect all visits to "index.asp" to the new pages. The whole site runs on "index.asp", so I would need to redirect every visit on "index.asp" to "/".
I've made a little experiment. I uploaded these .asp files to one of my hosted sites on Dreamhost:
http://railes.net/test1.asp (using refresh meta tag)
http://railes.net/test2.asp (trying to execute ASP code)
http://railes.net/test3.asp (trying to execute PHP code)
None of them worked as expected on Firefox. The first one worked fine on Internet Explorer, though. But I would like some way to make it work in all browsers, as well on web robots like googlebot.
Is there any way to execute PHP on .asp files? That way I could get the URL parameters (like http://mysite.com/index.asp?idpage=321) and redirect the user to the new location of the corresponding idpage.
Thanks for the help!
Burning airlines give you so much more