Page Redirection || SE Ranking

S

Sitara Lal

It is of course possible to redirect sites from one URL to another, but can
I redirect a page within a site? For instance, if the user enters
www.mysite.com/oldpage.htm and I want him to land at
www.mysite.com/newpage.htm, can this be done, using FP2003? How?

Also, what are the search engine implications of this? If
www.mysite.com/oldpage.htm has a fairly high ranking on Google etc., will I
be jeopardising this ranking by redirecting to another page?

I presume it is a big NO-NO for SE rankings to have two separate pages in a
site, with identical content (that would enable me to keep both pages
without having to redirect one)?
 
W

Wally S

I use this, and it works fine. You have to put this immediately below the
<head> tag.

<SCRIPT language="JavaScript1.1">
<!--
location.replace("http://www.mysite.com/newpage.htm");
//-->
</SCRIPT>
<noscript>
<meta http-equiv="refresh"
content="5; URL=http://www.mysite.com/newpage.htm">
</noscript>

Then in the body of the page you need something like "This page has been
moved. If you are not automatically redirected within 5 seconds, click here"
and then put a link to the new page.

I don't know what effect his has on the search engines.

Hope this helps.

Wally S
 
T

Trevor L.

I can answer the first question easily - Yes

I have many pages where I automatically redirect to the main page (i.e.
index.html) - I use frames, so I don't want the frame to open separately.

To do this, my <body> tag on the fram pages is: <body onload="detect()">

This is the function
function detect()
{
if (parent.location.href == window.location.href)
parent.location.href = "index.html"
}

This means that when the page is called directly, it goes to index.html
instead, but if index.html or any other page calls it, then it loads O.K.

This can also be done in the <meta> tag, but this is unconditional (which
may be what you want)
<meta http-equiv="refresh" content="0; url=index.html">

As to SE optimisation, the experts here know better. I think the story is
that the page which does the redirecting will not be found , but I may be
wrong.
 
J

Jon Spivey

Hi Sitara,

The only reliable way to do this from an SEO standpoint is to use a 301
redirect which needs to be done server side. In asp you'd do
<%
response.status = "301 Moved Permanently"
response.addheader "Location", "http://you.com/newpage.asp"
%>
This way your new page will keep the ranking of the old page.
 
S

Stefan B Rusynko

Also for those SE bots that read the header meta info, doesn't hurt to add in the old page
<meta name="robots" content="NoIndex, Follow">


--




| Hi Sitara,
|
| The only reliable way to do this from an SEO standpoint is to use a 301
| redirect which needs to be done server side. In asp you'd do
| <%
| response.status = "301 Moved Permanently"
| response.addheader "Location", "http://you.com/newpage.asp"
| %>
| This way your new page will keep the ranking of the old page.
|
| --
| Cheers,
| Jon
| Microsoft MVP
|
|
| | > It is of course possible to redirect sites from one URL to another, but
| > can
| > I redirect a page within a site? For instance, if the user enters
| > www.mysite.com/oldpage.htm and I want him to land at
| > www.mysite.com/newpage.htm, can this be done, using FP2003? How?
| >
| > Also, what are the search engine implications of this? If
| > www.mysite.com/oldpage.htm has a fairly high ranking on Google etc., will
| > I
| > be jeopardising this ranking by redirecting to another page?
| >
| > I presume it is a big NO-NO for SE rankings to have two separate pages in
| > a
| > site, with identical content (that would enable me to keep both pages
| > without having to redirect one)?
| >
| >
|
|
 
M

Murray

Yep - I agree with Jon. Any client-side redirection will penalize your SE
rankings. I have used ISAPI-Rewrite server-side to do my redirection and it
really works well. Each page is given a 301 header which the spiders know
how to interpret.
 
J

Jon Spivey

It can't hurt but as soon as a spider, or browser, sees the 301 it leaves
the page so won't see any meta tags. Also should have pointed out in my
first reply that it will take a while for page rank to pass to the new site.
Used a 301 on one of my sites with PR 4 6 weeks ago and I'm still dead in
the water as far as google's concerned
 
S

Sitara Lal

Thanks everybody for the very useful advice.

How can I do this server side 301 redirect if I am not using any asp
technology? Is there any HTML / Javascript etc. technique for accomplishing
this?

Thanks again.

SL
 
M

Murray

If you are hosted on Windows, investigate ISAPIRewrite (Google it). If you
are on *nix, I believe you can use htaccess to drive it.

--
Murray
============

Sitara Lal said:
Thanks everybody for the very useful advice.

How can I do this server side 301 redirect if I am not using any asp
technology? Is there any HTML / Javascript etc. technique for
accomplishing
this?

Thanks again.

SL
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top