473,394 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Moving a page, and keeping the search engine ranking

If I have a page located at:

http://www.mysite.com/mypage.asp

And I want to move this to:

http://www.mysite.com/mypage/
Which is actually:
http://www.mysite.com/mypage/index.asp

What is the best way to do this while preserving the rankings in Google (and
other search engines)? From what I've read, I want to send HTTP 301 (Moved
Permanently) when the old URL is accessed. But I believe Response.Redirect
sends HTTP 302 (Moved Temporarily). Does anyone have any suggestions or
useful links regarding this issue?

Many thanks!
Peter Foti
Jul 19 '05 #1
17 2139
Using custom 404's in IIS itself should do the trick........?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
Peter Foti <pe***@Idontwantnostinkingemailfromyou.com> wrote in message
news:10*************@corp.supernews.com...
If I have a page located at:

http://www.mysite.com/mypage.asp

And I want to move this to:

http://www.mysite.com/mypage/
Which is actually:
http://www.mysite.com/mypage/index.asp

What is the best way to do this while preserving the rankings in Google (and other search engines)? From what I've read, I want to send HTTP 301 (Moved Permanently) when the old URL is accessed. But I believe Response.Redirect sends HTTP 302 (Moved Temporarily). Does anyone have any suggestions or
useful links regarding this issue?

Many thanks!
Peter Foti

Jul 19 '05 #2
"Steven Burn" <nobody@PVT_it-mate.co.uk> wrote in message
news:uO**************@tk2msftngp13.phx.gbl...
Using custom 404's in IIS itself should do the trick........?


404 is file not found. Wouldn't search engines see that and then remove the
result from their rankings???

Also, I'm hoping to find some way to do this via the files themselves
(without touching IIS), only because the site is hosted and I don't have
direct access to IIS. I would have to rely on the host to make the changes,
and I'm not sure how likely that is (or even if their policy allows such a
thing).

Thanks,
Peter
Jul 19 '05 #3
If you don't have direct access to IIS then the only thing I can think of is
the response.redirect.

With custom 404's, I believe you can manipulate them to work like other
error's (I can't confirm this as I've never tried it myself).... so was just
thinking, it may have been possible to fool the search engine into thinking
it was a 301 instead of a 404.

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
Peter Foti <pe***@Idontwantnostinkingemailfromyou.com> wrote in message
news:10*************@corp.supernews.com...
"Steven Burn" <nobody@PVT_it-mate.co.uk> wrote in message
news:uO**************@tk2msftngp13.phx.gbl...
Using custom 404's in IIS itself should do the trick........?
404 is file not found. Wouldn't search engines see that and then remove

the result from their rankings???

Also, I'm hoping to find some way to do this via the files themselves
(without touching IIS), only because the site is hosted and I don't have
direct access to IIS. I would have to rely on the host to make the changes, and I'm not sure how likely that is (or even if their policy allows such a
thing).

Thanks,
Peter

Jul 19 '05 #4
"Peter Foti" <pe***@Idontwantnostinkingemailfromyou.com> wrote in message
news:10*************@corp.supernews.com...
: If I have a page located at:
:
: http://www.mysite.com/mypage.asp
:
: And I want to move this to:
:
: http://www.mysite.com/mypage/
: Which is actually:
: http://www.mysite.com/mypage/index.asp
:
: What is the best way to do this while preserving the rankings in Google
(and
: other search engines)? From what I've read, I want to send HTTP 301
(Moved
: Permanently) when the old URL is accessed. But I believe
Response.Redirect
: sends HTTP 302 (Moved Temporarily). Does anyone have any suggestions or
: useful links regarding this issue?

This thread shows how to create a 301 in IIS.
http://www.webmasterworld.com/forum10/2651.htm

HTH...

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 19 '05 #5
"status: Either we require login from users from your ISP because of abuse,
or the thread is marked members only. Please login and then back up to
view."

:o(

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
Roland Hall <nobody@nowhere> wrote in message
news:ur*************@TK2MSFTNGP12.phx.gbl...
"Peter Foti" <pe***@Idontwantnostinkingemailfromyou.com> wrote in message
news:10*************@corp.supernews.com...
: If I have a page located at:
:
: http://www.mysite.com/mypage.asp
:
: And I want to move this to:
:
: http://www.mysite.com/mypage/
: Which is actually:
: http://www.mysite.com/mypage/index.asp
:
: What is the best way to do this while preserving the rankings in Google
(and
: other search engines)? From what I've read, I want to send HTTP 301
(Moved
: Permanently) when the old URL is accessed. But I believe
Response.Redirect
: sends HTTP 302 (Moved Temporarily). Does anyone have any suggestions or
: useful links regarding this issue?

This thread shows how to create a 301 in IIS.
http://www.webmasterworld.com/forum10/2651.htm

HTH...

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp MSDN Library - http://msdn.microsoft.com/library/default.asp

Jul 19 '05 #6
> 404 is file not found. Wouldn't search engines see that and then remove
the
result from their rankings???
If you use a custom 404 page, you don't necessarily have to send the actual
404 header back to the browser.

Let me know if you see a 404 header from http://www.aspfaq.com/5006, for
example, which uses a 404 handler.
Also, I'm hoping to find some way to do this via the files themselves
(without touching IIS)


Sure, leave them exactly the way they are. Create new pages that do
whatever you need to change and eventually those should become just as
popular.

And here I was, thinking search engine ranking was mostly a paid service.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #7
"Steven Burn" <nobody@PVT_it-mate.co.uk> wrote in message
news:u$**************@TK2MSFTNGP11.phx.gbl...
: "status: Either we require login from users from your ISP because of
abuse,
: or the thread is marked members only. Please login and then back up to
: view."

You can't get to that page? It doesn't require you to be a member because
I'm not so I guess perhaps someone from your IP block is not playing well
with others.

Here is the part that I thought was relevant:

It is easy to generate a 301 Anything in iis. From asp:
<%
Response.Status = "301 Anything (could be error)"
Call Response.AddHeader ("Location","http://www.site.com/newpage.asp")
Response.End
%>

The portion after the numeric status code is informational only. Anything
can be put there. "301 Moved Permanently", or "301 Permanent Redirect" are
commonly used. But "301 error" is ok too. The important thing is the status
code: 301.

HTH...
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp

Jul 19 '05 #8
"Steven Burn" wrote:
: "status: Either we require login from users from your ISP because of
abuse,
: or the thread is marked members only. Please login and then back up to
: view."

This is at the top to show you I'm not a member:
Welcome to WebmasterWorld Guest from x.x.x.x

Obviously x.x.x.x is my IP.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 19 '05 #9
Cheers for the info.......

As for the IP block, it's probably due to my cr_ppy ISP allowing wan__rs to
play around..... and doing sh_g all about it. (I'm ashamed to admit, my ISP
is Tiscali)

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
Roland Hall <nobody@nowhere> wrote in message
news:uq**************@TK2MSFTNGP12.phx.gbl...
"Steven Burn" <nobody@PVT_it-mate.co.uk> wrote in message
news:u$**************@TK2MSFTNGP11.phx.gbl...
: "status: Either we require login from users from your ISP because of
abuse,
: or the thread is marked members only. Please login and then back up to
: view."

You can't get to that page? It doesn't require you to be a member because
I'm not so I guess perhaps someone from your IP block is not playing well
with others.

Here is the part that I thought was relevant:

It is easy to generate a 301 Anything in iis. From asp:
<%
Response.Status = "301 Anything (could be error)"
Call Response.AddHeader ("Location","http://www.site.com/newpage.asp")
Response.End
%>

The portion after the numeric status code is informational only. Anything
can be put there. "301 Moved Permanently", or "301 Permanent Redirect" are
commonly used. But "301 error" is ok too. The important thing is the status code: 301.

HTH...
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp MSDN Library - http://msdn.microsoft.com/library/default.asp

Jul 19 '05 #10
"Steven Burn" wrote:
: Cheers for the info.......
:
: As for the IP block, it's probably due to my cr_ppy ISP allowing wan__rs
to
: play around..... and doing sh_g all about it. (I'm ashamed to admit, my
ISP
: is Tiscali)

I always loved the UK alternative adjectives and pronouns! (O:=

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 19 '05 #11
hehe ;o)

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
Roland Hall <nobody@nowhere> wrote in message
news:eZ**************@tk2msftngp13.phx.gbl...
"Steven Burn" wrote:
: Cheers for the info.......
:
: As for the IP block, it's probably due to my cr_ppy ISP allowing wan__rs
to
: play around..... and doing sh_g all about it. (I'm ashamed to admit, my
ISP
: is Tiscali)

I always loved the UK alternative adjectives and pronouns! (O:=

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp MSDN Library - http://msdn.microsoft.com/library/default.asp

Jul 19 '05 #12
On Thu, 12 Feb 2004 16:40:13 -0500, "Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote:
in <e#**************@TK2MSFTNGP12.phx.gbl>
404 is file not found. Wouldn't search engines see that and then remove

the
result from their rankings???


If you use a custom 404 page, you don't necessarily have to send the actual
404 header back to the browser.

Let me know if you see a 404 header from http://www.aspfaq.com/5006, for
example, which uses a 404 handler.
Also, I'm hoping to find some way to do this via the files themselves
(without touching IIS)


Sure, leave them exactly the way they are. Create new pages that do
whatever you need to change and eventually those should become just as
popular.

And here I was, thinking search engine ranking was mostly a paid service.


Hi Aaron-

This is what Sam Spade shows:

02/13/04 09:24:28 Browsing http://www.aspfaq.com/5006
Fetching http://www.aspfaq.com/5006 ...
GET /5006 HTTP/1.1

Host: www.aspfaq.com

Connection: close

User-Agent: Sam Spade 1.14

HTTP/1.1 302 Object moved

Connection: close

Date: Fri, 13 Feb 2004 17:24:26 GMT

Server: Microsoft-IIS/6.0

X-Powered-By: ASP.NET

pragma: no-cache

cache-control: private, no-cache, must-revalidate

Location: /etiquette.asp?id=5006

Content-Length: 143

Content-Type: text/html

Expires: Sat, 01 Jan 2000 05:00:00 GMT

Set-Cookie: ASPSESSIONIDASRTBSSD=AJLLIEFCBGAKFFHDJGGBEIIJ; path=/

Cache-control: private

<head><title>Object moved</title></head>
<body><h1>Object Moved</h1>This object may be found <a HREF="/etiquette.asp?id=5006">here</a>.</body>
Jul 19 '05 #13
"Roland Hall" <nobody@nowhere> wrote in message
news:uq**************@TK2MSFTNGP12.phx.gbl...
"Steven Burn" <nobody@PVT_it-mate.co.uk> wrote in message
news:u$**************@TK2MSFTNGP11.phx.gbl...
: "status: Either we require login from users from your ISP because of
abuse,
: or the thread is marked members only. Please login and then back up to
: view."

You can't get to that page? It doesn't require you to be a member because
I'm not so I guess perhaps someone from your IP block is not playing well
with others.

Here is the part that I thought was relevant:

It is easy to generate a 301 Anything in iis. From asp:
<%
Response.Status = "301 Anything (could be error)"
Call Response.AddHeader ("Location","http://www.site.com/newpage.asp")
Response.End
%>

The portion after the numeric status code is informational only. Anything
can be put there. "301 Moved Permanently", or "301 Permanent Redirect" are
commonly used. But "301 error" is ok too. The important thing is the status code: 301.


Thanks Roland. I think this is exactly what I was looking for! :)
Pete
Jul 19 '05 #14
"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:e%****************@TK2MSFTNGP12.phx.gbl...
404 is file not found. Wouldn't search engines see that and then remove the
result from their rankings???


If you use a custom 404 page, you don't necessarily have to send the

actual 404 header back to the browser.


Very interesting! Thanks Aaron! I think I'm going to use Roland's
suggestion (Response.Status + Response.AddHeader), as all I need for this is
to upload the redirecting file. But good to know about this as well!

Peter Foti
Jul 19 '05 #15
"Peter Foti" wrote:
: "Roland Hall" <nobody@nowhere> wrote in message
: news:uq**************@TK2MSFTNGP12.phx.gbl...
: > "Steven Burn" <nobody@PVT_it-mate.co.uk> wrote in message
: > news:u$**************@TK2MSFTNGP11.phx.gbl...
: > : "status: Either we require login from users from your ISP because of
: > abuse,
: > : or the thread is marked members only. Please login and then back up to
: > : view."
: >
: > You can't get to that page? It doesn't require you to be a member
because
: > I'm not so I guess perhaps someone from your IP block is not playing
well
: > with others.
: >
: > Here is the part that I thought was relevant:
: >
: > It is easy to generate a 301 Anything in iis. From asp:
: > <%
: > Response.Status = "301 Anything (could be error)"
: > Call Response.AddHeader ("Location","http://www.site.com/newpage.asp")
: > Response.End
: > %>
: >
: > The portion after the numeric status code is informational only.
Anything
: > can be put there. "301 Moved Permanently", or "301 Permanent Redirect"
are
: > commonly used. But "301 error" is ok too. The important thing is the
: status
: > code: 301.
:
: Thanks Roland. I think this is exactly what I was looking for! :)
: Pete

Good to hear Pete. Thanks for responding. (O:=

Roland
Jul 19 '05 #16
"Roland Hall" wrote:
: "Peter Foti" wrote:
: : "Roland Hall" <nobody@nowhere> wrote in message
: : news:uq**************@TK2MSFTNGP12.phx.gbl...
: : > "Steven Burn" <nobody@PVT_it-mate.co.uk> wrote in message
: : > news:u$**************@TK2MSFTNGP11.phx.gbl...
: : > : "status: Either we require login from users from your ISP because of
: : > abuse,
: : > : or the thread is marked members only. Please login and then back up
to
: : > : view."
: : >
: : > You can't get to that page? It doesn't require you to be a member
: because
: : > I'm not so I guess perhaps someone from your IP block is not playing
: well
: : > with others.
: : >
: : > Here is the part that I thought was relevant:
: : >
: : > It is easy to generate a 301 Anything in iis. From asp:
: : > <%
: : > Response.Status = "301 Anything (could be error)"
: : > Call Response.AddHeader ("Location","http://www.site.com/newpage.asp")
: : > Response.End
: : > %>
: : >
: : > The portion after the numeric status code is informational only.
: Anything
: : > can be put there. "301 Moved Permanently", or "301 Permanent Redirect"
: are
: : > commonly used. But "301 error" is ok too. The important thing is the
: : status
: : > code: 301.
: :
: : Thanks Roland. I think this is exactly what I was looking for! :)
: : Pete
:
: Good to hear Pete. Thanks for responding. (O:=

Sorry, make that Peter.
Jul 19 '05 #17
"Roland Hall" <nobody@nowhere> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
"Roland Hall" wrote:
: "Peter Foti" wrote:
: : "Roland Hall" <nobody@nowhere> wrote in message
: : news:uq**************@TK2MSFTNGP12.phx.gbl...
: : > "Steven Burn" <nobody@PVT_it-mate.co.uk> wrote in message
: : > news:u$**************@TK2MSFTNGP11.phx.gbl...
: : > : "status: Either we require login from users from your ISP because of : : > abuse,
: : > : or the thread is marked members only. Please login and then back up to
: : > : view."
: : >
: : > You can't get to that page? It doesn't require you to be a member
: because
: : > I'm not so I guess perhaps someone from your IP block is not playing
: well
: : > with others.
: : >
: : > Here is the part that I thought was relevant:
: : >
: : > It is easy to generate a 301 Anything in iis. From asp:
: : > <%
: : > Response.Status = "301 Anything (could be error)"
: : > Call Response.AddHeader ("Location","http://www.site.com/newpage.asp") : : > Response.End
: : > %>
: : >
: : > The portion after the numeric status code is informational only.
: Anything
: : > can be put there. "301 Moved Permanently", or "301 Permanent Redirect" : are
: : > commonly used. But "301 error" is ok too. The important thing is the
: : status
: : > code: 301.
: :
: : Thanks Roland. I think this is exactly what I was looking for! :)
: : Pete
:
: Good to hear Pete. Thanks for responding. (O:=

Sorry, make that Peter.


Either will do. :)

Jul 19 '05 #18

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Petre Huile | last post by:
I have designed a site for a client, but they have hired an internet marketing person to incrase their search engine ranking and traffic. He wants to put extra-large fonts on every page which will...
25
by: Steal | last post by:
Hi at all I try to validate this page using the link: http://validator.w3.org/ but it return that this is not a valid HTML 4.01 page please where is it error? Steil <!DOCTYPE HTML PUBLIC...
32
by: sandy | last post by:
I have a hobby website at: http://www.montana-riverboats.com which also resolves as: http://montana-riverboats.com ...without the www. One address has a Google page rank of three. The other...
10
by: Harlin Seritt | last post by:
Hi, Is anyone aware of an available open-source/free search engine app (something similar to HTDig) written in Python that is out there? Googling has turned up nothing. Thought maybe I'd mine...
83
by: D. Dante Lorenso | last post by:
Trying to use the 'search' in the docs section of PostgreSQL.org is extremely SLOW. Considering this is a website for a database and databases are supposed to be good for indexing content, I'd...
2
by: Guoqi Zheng | last post by:
Dear sir, I have over 2000 products with detail information on database. I would like to offer our visitors an advanced search function to search our database. Currently, I am using the like %...
1
by: noname | last post by:
dear all, i want to learn search engine optimization, can some one guide me how to get a good ranking in google or a good ranking in yahoo or aol, altavista, teoma , msn and other search engines
8
by: Roman | last post by:
I received a marketing call from a guy first showing me my website and then some other website and ranking of that other website. My questions is it worth paying to SEO corporation a $1200 -...
3
by: Michael Fesser | last post by:
..oO(Jerry Stuckle) I prefer third-party search engines or my own. A simple index-based engine with ranking is not that hard to write. Of course it's not that powerful than a professional...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.