Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

Can I do this redirect?

My Tripod 20meg limit problems are over:

I moved the site.

So I thought I'd stick one of these in the template of the old site to send everyone to the new home page.

<meta http-equiv="Refresh" content="0;URL=">

Can I do this in a way that does a page by page redirect?  That is, if someone goes to the old chia pet page can I make CityDesk redirect them to the new chia pet page?

Is the best way to create a redirect template family and handle it like a printer-friendly site?

Wednesday, February 12, 2003

Yes, you can do this page by page.

<META HTTP-EQUIV=Refresh CONTENT="5; URL={$.abspath$}">

5 (seconds) or more may be helpful to tell people to update their bookmarks and a "click here if your browser doesn't move to the new location in 5 seconds" link (which also may help some search engine robots.

Better than the meta tag would be:
- server side redirecting (or PHP or ASP) to tell people and search engines that the page has moved permanently.

Adriaan van den Brand
Thursday, February 13, 2003

This may or may not make a difference in your case, but if you're concerned about search engine results, you might want to stay away from a zero second meta refresh. Some engines penalize that sort of thing, since it's often used for spammy purposes. I think it's better, as has been suggested, to have the page up for at least five seconds with the clickable URL.

Pete Riis
Friday, February 14, 2003

I did it with a "5" and it worked like a charm, all 279 pages redirected to the right place just by changing a template.  Thanks to the Forum and the Fog folks.

Friday, February 14, 2003

*  Recent Topics

*  Fog Creek Home