IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old January 10th, 2005, 03:41 PM
Wayfarer51 Wayfarer51 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 3 Wayfarer51 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Changing from ASP to PHP--redirect?

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

Reply With Quote
  #2  
Old January 10th, 2005, 04:28 PM
skennelly skennelly is offline
I am me
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2004
Location: Earth
Posts: 560 skennelly User rank is Corporal (100 - 500 Reputation Level)skennelly User rank is Corporal (100 - 500 Reputation Level)skennelly User rank is Corporal (100 - 500 Reputation Level)skennelly User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 3 Days 31 m 14 sec
Reputation Power: 5
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.

Reply With Quote
  #3  
Old January 10th, 2005, 04:46 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,282 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 16 m 26 sec
Reputation Power: 744
Or are you trying to keep your old links? IOW, have your ASP pages parsed as PHP?

Reply With Quote
  #4  
Old January 10th, 2005, 04:47 PM
Wayfarer51 Wayfarer51 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 3 Wayfarer51 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by skennelly
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.


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

Reply With Quote
  #5  
Old January 10th, 2005, 06:11 PM
Wayfarer51 Wayfarer51 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 3 Wayfarer51 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by jharnois
Or are you trying to keep your old links? IOW, have your ASP pages parsed as PHP?


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

Reply With Quote
  #6  
Old January 10th, 2005, 06:44 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,282 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 16 m 26 sec
Reputation Power: 744
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Changing from ASP to PHP--redirect?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway