Reply
Redirecting: Do search engines still lis
Old 03-22-2007, 10:04 AM Redirecting: Do search engines still lis
montyauto's Avatar
Skilled Talker

Posts: 69
I'm talking now re. redirecting visitors to a new site.

How can I get the search engines to list the url of the new site?
montyauto is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 03-22-2007, 10:13 AM Re: Redirecting: Do search engines still lis
bzimage's Avatar
King Talker

Posts: 1,073
Name: Shannon
Location: http://www.bzimage.org
301 redirect
__________________
- Bzimage
bzimage is offline
Reply With Quote
View Public Profile Visit bzimage's homepage!
 
Old 03-22-2007, 11:11 AM Re: Redirecting: Do search engines still lis
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
For a change, theseokit is right. What you'll want to do is use a 301 redirect to direct users from the old pages to the new pages.

Here's the Active Server Pages code (I don't know other languages):
Code:
Response.Status = "301 Moved Permanently"
Response.AddHeader "Location", your new page here
Response.End ' Don't forget this part or both Googlebot and MSN's bot will choke on it.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 03-22-2007, 11:15 AM Re: Redirecting: Do search engines still lis
bzimage's Avatar
King Talker

Posts: 1,073
Name: Shannon
Location: http://www.bzimage.org
Adam, have any articles on creating a correct 301 redirect. I could not find any
__________________
- Bzimage
bzimage is offline
Reply With Quote
View Public Profile Visit bzimage's homepage!
 
Old 03-22-2007, 02:04 PM Re: Redirecting: Do search engines still lis
Learning Newbie's Avatar
Moderator

Latest Blog Post:
What’s He Looking At?
Posts: 4,986
Name: John Alexander
Another poster, and one whose intelligence and cunning I think we all respect, had a lot of trouble figuring this one out. So let me say this:

It doesn't matter how your 301 is generated, only that it be sent to the bot. This could be with ASP, like the code Adam generously provided us with. It could be done in PHP, and probably very similar. It could be done with mod_rewrite, popular with Apache servers. Any of these methods don't matter, only the result - a 301 redirect.

But it can't be done with JavaScript, because search bots ignore java.
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 03-22-2007, 02:11 PM Re: Redirecting: Do search engines still lis
bzimage's Avatar
King Talker

Posts: 1,073
Name: Shannon
Location: http://www.bzimage.org
Quote:
Originally Posted by Learning Newbie View Post
Another poster, and one whose intelligence and cunning I think we all respect, had a lot of trouble figuring this one out. So let me say this:

It doesn't matter how your 301 is generated, only that it be sent to the bot. This could be with ASP, like the code Adam generously provided us with. It could be done in PHP, and probably very similar. It could be done with mod_rewrite, popular with Apache servers. Any of these methods don't matter, only the result - a 301 redirect.

But it can't be done with JavaScript, because search bots ignore java.

PHP?

I don't think thats a real 301 redirect, that PHP would still use some sort of coding to do it, but the spiders would not follow that correct? I could be wrong.
__________________
- Bzimage
bzimage is offline
Reply With Quote
View Public Profile Visit bzimage's homepage!
 
Old 03-22-2007, 02:20 PM Re: Redirecting: Do search engines still lis
Learning Newbie's Avatar
Moderator

Latest Blog Post:
What’s He Looking At?
Posts: 4,986
Name: John Alexander
A redirect is an HTTP response (header?). You request an old URL with your browser, and get an answer that says "We've moved that document, if you'd like it, please request this address instead." So long as the search bot gets this message, it doesn't matter how it was generated.

That's actually the beauty of server-side coding like ASP/PHP, that you can do all kinds of elaborate things, but in the end it just sends down standard html. The client in the end doesn't even know how the html was created, just that this is the document they asked for.
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 03-22-2007, 02:23 PM Re: Redirecting: Do search engines still lis
bzimage's Avatar
King Talker

Posts: 1,073
Name: Shannon
Location: http://www.bzimage.org
I see, ok cool then do it that way, I never thought of it to be honest
__________________
- Bzimage
bzimage is offline
Reply With Quote
View Public Profile Visit bzimage's homepage!
 
Old 03-22-2007, 02:35 PM Re: Redirecting: Do search engines still lis
Learning Newbie's Avatar
Moderator

Latest Blog Post:
What’s He Looking At?
Posts: 4,986
Name: John Alexander
Well, I wouldn't do it that way, PHP is kind of lacking. I hate to say it, but it's true - the latest version, from about a month ago, goes a long way toward catching up with ASP, but there's still a long way left to go. But for people who run their sites in PHP, don't be afraid to use this method - it's easy, they already have the skills required, and it'll work.

Again, java won't, though, because the search bots don't run java.
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 03-22-2007, 02:37 PM Re: Redirecting: Do search engines still lis
bzimage's Avatar
King Talker

Posts: 1,073
Name: Shannon
Location: http://www.bzimage.org
I wonder if they will ever proccess java correctly?
__________________
- Bzimage
bzimage is offline
Reply With Quote
View Public Profile Visit bzimage's homepage!
 
Old 03-22-2007, 02:41 PM Re: Redirecting: Do search engines still lis
Learning Newbie's Avatar
Moderator

Latest Blog Post:
What’s He Looking At?
Posts: 4,986
Name: John Alexander
No. They don't want to. They crawl the entire web, and would get some nasty infections if they ran java in their bots.
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 03-22-2007, 05:18 PM Re: Redirecting: Do search engines still lis
chrishirst's Avatar
Super Moderator

Posts: 12,819
Location: Blackpool. UK
http://www.highrankings.com/forum/in...1&#entry117701

scroll down to find some code additions

http://www.highrankings.com/forum/in...showtopic=5644 every version of redirects you could ever need including PHP ones.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Redirecting: Do search engines still lis
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.18533 seconds with 13 queries