Redirect

OJM

Perch
Could someone tell me what the best way of redirecting would be please?

For instance, I have a domain which I don't have a site on, but do have a forum. At the moment I have an ASP redirect page on the www.mydomain.com to redirect to www.mydomain.com/forum

However, I have been informed that this isn't the best way to do it, as search engines don't like it.

I don't want to move the forum to www.mydomain.com as I will have a site at some point in the future.

I tried adding a redirect for the domain in my control panel, but it didn't seem to work - www.mydomain.com just crawled and never loaded.

The redirect looked like the following in the control panel when setup;

null->http://www.mydomain.com/forum ( exact )

Any help would be great.

Cheers!
 
The asp should be fine for the redirect aspect...
I typically use a javascript snippet to redirect, then below that use an html link (something like if your browser doesn't redirect click here).
Regardless, the static html link, to yoursite.com/forums/ should be enough for the search engines. That, or just make sure you submit your site map to google...
there are browsers out there which will show you what your site looks like to a spider, thoses are very helpful to make sure all your links are viewable by the search engines. Lynx Viewer will show you what the spider sees...
 
Cheers for the info.

At the moment I have the following as a default.asp within www.mydomain.com ;

<html>
<head>
<title>Site Title</title>
</head>
<body>

<%
Response.Redirect("forum/default.asp")
%>

</body>
</html>

I ran an SEO tool which 1&1 provided for free, and it came back with;

Your URL redirects to another page. Search engines, and our tools, often have trouble following redirects so it is best to list the destination page of the redirect.
 
You could do it like this:

<html>
<head>
<title>Site Title</title>
</head>
<body>

<%
Response.Redirect("forum/default.asp")
%>
<a href="/forum/default.asp">forum link</a>
</body>
</html>

The asp will never get to the <a> link -- it will have already started the redirect. Non ASP browsers (such as spiders) will see the link and follow it.
 
Back
Top