Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirecting SSS.htm --> Schedule.html (in same web folder)

Status
Not open for further replies.

ChibiNeko

Programmer
Joined
Sep 26, 2002
Messages
13
Location
US
Hi Everyone!

I'm using Microsoft IIS 5.0, and I have a question about redirecting web site traffic on my web site. A lot of users in my server logs have requested a page called SSS.htm, which no longer exists, It has been replaced by a page with a differnet name. What I'd like to do is at the IIS server level, redirect all requests for the page "SSS.htm" to the new equivalent content/page called "Schedule.html." I checked the IIS Docs, and I could not find what I need. Only commands for redirecting from one folder to another on the web site, which does not help me because in this case Schedule.html replaces SSS.htm (both at root level in the same folder).

Apache Servers can do this, but I'm not sure how to do this with IIS!

Anyone have any Ideas?

Thanks in Advance!

-ChibiNeko

 
Create a page called sss.htm and put in these lines:

<html>
<head>
<META HTTP-EQUIV=&quot;REFRESH&quot; CONTENT=&quot;0;URL=schedule.html&quot;>
</head>
<body>
</body>
</html>
 
I've read in various articles that is best to do redirecting at the server level when possible, e.g., if a client request the page SSS.html the Server returns the page 'Schedule.html'. To the best of my knowledge an Apache Servers retain a list of the particular redirect instances and automatically returns the appropriate page. I'm working with a large site with over 100 pages and because of this I need a simple solution to get from Point A to Point B.

Using the meta refresh approach will require me to retain many outdates pages on the server, and when changes are frequent (just might be) this will quickly result in cluttering of my server directory listings. It really seems like additional work, when there could be a better approach.

I've also read that a Meta refresh rate of '0' can confuse Search Engines and can result banning when used in excess.

Any thoughts?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top