homepage Welcome to WebmasterWorld Guest from 54.166.62.226
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Page No Longer There
But the SE's say it is
randle

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 11350 posted 7:23 pm on Jan 12, 2006 (gmt 0)

Hope a wise person can assist us with a problem we have.

We have a glossary feature on our website that generated different information based on the query string, for example:

domain.com/glossary.php?page=A

would give a page of all words begining with the letter A.

Google indexed each one of those pages, so we have 26 pages (one for each letter) of content. Recently we pared down and consolidated our glossary into one page, so all words, A-Z, appear on one page, example.com/glossary.php

So it would seem now that we have 27 pages of duplicate content (example.com/glossary.php, example.com/glossary.php?page=A, example.com/glossary.php?page=B, etc). We'd like Google to stop indexing any pages with a query string. To do this, we were thinking of checking for the query string on /glossary.php and, if it was there, writing a meta NOINDEX tag to be served to the googlebot. Would this acheive our goal of actually getting those listings with the "?page=" out of the index?

If not is there another or better way?

Thanks in advance.

 

FalseDawn

5+ Year Member



 
Msg#: 11350 posted 8:30 pm on Jan 12, 2006 (gmt 0)

Are you still serving the same page, though?
If you are not serving a 404, I would display a "page no longer exists" type message, as well as using the "noindex" meta.

The best solution would probably be to serve a 404 where the param is supplied.

LeChuck

5+ Year Member



 
Msg#: 11350 posted 9:09 pm on Jan 12, 2006 (gmt 0)

No.

The best solution would be to serve a 410 Gone.

FalseDawn

5+ Year Member



 
Msg#: 11350 posted 10:19 pm on Jan 12, 2006 (gmt 0)

Yes, you are correct, a 410 would be better.

whoisgregg

WebmasterWorld Senior Member whoisgregg us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 11350 posted 10:35 pm on Jan 12, 2006 (gmt 0)

Or you can use a 301 redirect when googlebot visits with a query string. In theory, that means any links pointing to /glossary.php?page=A would "count" towards /glossary.php.

Added: And serving a 301 is more accurate, what used to be at /glossary.php?page=A has permanently moved to /glossary.php. It isn't "not found" or "gone" it's just in a different place.

randle

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 11350 posted 10:46 pm on Jan 12, 2006 (gmt 0)

Are you still serving the same page, though?

Yes, thats our concern, now we have 20 something pages that are exactly the same.

Thanks for the help guys

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved