|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
I'm changing my website from ASP to PHP and I don't want to have to put a redirect on each page if there's a more elegant method. My site is at http://www.journeys.ws/ and the host is brinkster.com. They're running IIS 6.
TIA Neill |
|
#2
|
|||
|
|||
|
So what you are trying to do is redirect your ASP pages to PHP pages? The obvious question here is why not just convert all your pages to php and get rid of the ASP site or do whatever with it.
I don't see the reasoning behind why you would need redirects. |
|
#3
|
||||
|
||||
|
Or are you trying to keep your old links? IOW, have your ASP pages parsed as PHP?
|
|
#4
|
|||
|
|||
|
Quote:
Forgive me for being unclear. 1. I am rewriting all of the ASP pages on my website in PHP. These will replace the current ASP pages. I will delete the ASP pages when the PHP pages are in place and adequately debugged. 2. I have a presence on many search engines with my current ASP pages and, after conversion to PHP, if a user clicks on a link in a search engine result page for design.asp on my site, I want that user to be "sent" to design.php instead. In this way I won't have to start from scratch with the search engines. Thanks, Neill |
|
#5
|
|||
|
|||
|
Quote:
I've read that it's possible to do so, and I will if forced to, but I would prefer to have my new pages show up in the browser address box as being PHP pages, though the the user may have "requested" an ASP page from a link. Thanks, Neill |
|
#6
|
||||
|
||||
|
Well, on an Apache server we'd simply rewrite all .asp requests to the same page but with a .php extension and tell the server to send a "permanent" header in the redirect so the search engines would eventually change the index (all on one line ;D).
I have no clue what the IIS equivalent would be, so I've moved this to the IIS forum to see if we can get you an answer.
__________________
# Jeremy Explain your problem instead of asking how to do what you decided was the solution. |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Changing from ASP to PHP--redirect? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|