If you try it, you'll see that a line of the HTML code appears on the screen, along with a link to YahooGroups, but the page never redirects.
I've pasted in the code I'm using below. I'd be grateful to anyone who could explain to me how to get the redirection working. (Also, since our group name "SeattleCFS" comes up first in a Google search, it would be nice to set up the redirection so that we keep our Google ranking. Is that possible?)
<html>
<head>
<title>Redirect to SeattleCFS YahooGroup</title>
< content="0;url=http://health.groups.yahoo.com/group/SeattleCFS/">
</head>
<body>
<p>
Redirecting to SeattleCFS YahooGroup. If you're not redirected within a couple of seconds,
click here:<br />
<a href="http://health.groups.yahoo.com/group/SeattleCFS/">SeattleCFS YahooGroup</a>
</p>
</body>
</html>
Use of that method of redirection is considered deprecated by the W3C, though. Not sure what Google think of it, which is probably a more important consideration. ;-)
Google and the other search engines generally treat a <meta> refresh as a 301 redirect. When you use this tag, it's also a good idea to include a link to the destination URL on the page for those users whose browser doesn't support the <meta> tag.
Google prefers server-based 301 redirects, but they've supported the <meta> refresh in this way for about 10 years now. Prior to that time, it was seen as potentially abusive and subject to penalties, so you'll still see a few websites warning you against this. You can safely ignore that advice.
I would say the best way to redirect would be to include it in your .htaccess
Redirect to www using htaccess redirect
Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to www.domain.com
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)
Bookmarks