Welcome to dbForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

how to stop SE's listing both url's ?

 
   Database Forums (Home) -> PHP RSS
Next:  Thanks a lot...  
Author Message
Chris242

External


Since: Oct 19, 2004
Posts: 1



(Msg. 1) Posted: Tue Oct 19, 2004 6:04 pm
Post subject: how to stop SE's listing both url's ?
Archived from groups: comp>lang>php (more info?)

Hello
Am really worried, so wondered if anyone could help.

My site outgrew itself recently so we've had to make changes to the url
structure.
I have some important url's like this: www.mysite.com/bluewidgets/, Yet now
with the expansion of the site and url structure change (had to be done) we
also have urls like: www.mysite.com/country1/bluewidgets/ which serves up
identical content to the above first url.

Is this bad? There is no way around it, cause if i dump my old url (i have
50 important ones kept) I will have to get around 6,000 webmasters to change
my link url on their pages, which i dont want to have to do.
My programmer says it wont be a problem with google etc, but i'm worried. I
rely on this site for my income.
Is it possible to stop google from crawling and most importantly listing the
50 new url's in the new format? So it sticks with the old ones? Everything
is done with php/mod rewrite rules and so its not simple for me to know.
Or is it possible to have 50 redirects from the new url's to the old ones?
Will that stop google listing both?

How do i get round this? The problem is, because the site is very much
database driven, i have no way of making it use the old format url's for the
50 in question. I hope this all makes sense. Thanks for any help,

Chris

 >> Stay informed about: how to stop SE's listing both url's ? 
Back to top
Login to vote
jrfno

External


Since: Oct 10, 2004
Posts: 2



(Msg. 2) Posted: Tue Oct 19, 2004 6:04 pm
Post subject: Re: how to stop SE's listing both url's ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Chris wrote:

 > Hello
 > Am really worried, so wondered if anyone could help.
 >
 > My site outgrew itself recently so we've had to make changes to the url
 > structure.
 > I have some important url's like this: <a style='text-decoration: underline;' href="http://www.mysite.com/bluewidgets/," target="_blank">www.mysite.com/bluewidgets/,</a> Yet now
 > with the expansion of the site and url structure change (had to be done) we
 > also have urls like: <a style='text-decoration: underline;' href="http://www.mysite.com/country1/bluewidgets/" target="_blank">www.mysite.com/country1/bluewidgets/</a> which serves up
 > identical content to the above first url.
 >
 > Is this bad? There is no way around it, cause if i dump my old url (i have
 > 50 important ones kept) I will have to get around 6,000 webmasters to change
 > my link url on their pages, which i dont want to have to do.
 > My programmer says it wont be a problem with google etc, but i'm worried. I
 > rely on this site for my income.
 > Is it possible to stop google from crawling and most importantly listing the
 > 50 new url's in the new format? So it sticks with the old ones? Everything
 > is done with php/mod rewrite rules and so its not simple for me to know.
 > Or is it possible to have 50 redirects from the new url's to the old ones?
 > Will that stop google listing both?
 >
 > How do i get round this? The problem is, because the site is very much
 > database driven, i have no way of making it use the old format url's for the
 > 50 in question. I hope this all makes sense. Thanks for any help,
 >
 > Chris
 >
 >


Hi Chris,

Have a look at the following article:
<a style='text-decoration: underline;' href="http://www.alistapart.com/articles/urls/" target="_blank">http://www.alistapart.com/articles/urls/</a>

Should point you in the right direction.

Grz, Juliette<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: how to stop SE's listing both url's ? 
Back to top
Login to vote
steve




Joined: Jan 06, 2004
Posts: 655



(Msg. 3) Posted: Tue Oct 19, 2004 8:23 pm
Post subject: Re: how to stop SE's listing both url's ? [Login to view extended thread Info.]

From what I have read, the best way is with permanent redirects. Google talks about it: http://www.google.com/remove.html#change_url
 >> Stay informed about: how to stop SE's listing both url's ? 
Back to top
Login to vote
Michael Fesser

External


Since: Jul 05, 2004
Posts: 107



(Msg. 4) Posted: Thu Oct 21, 2004 3:08 am
Post subject: Re: how to stop SE's listing both url's ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

.oO("Chris" <picturesofengland(on spami)@hotmail.com>)

 >My site outgrew itself recently so we've had to make changes to the url
 >structure.
 >I have some important url's like this: <a style='text-decoration: underline;' href="http://www.mysite.com/bluewidgets/," target="_blank">www.mysite.com/bluewidgets/,</a> Yet now
 >with the expansion of the site and url structure change (had to be done) we
 >also have urls like: <a style='text-decoration: underline;' href="http://www.mysite.com/country1/bluewidgets/" target="_blank">www.mysite.com/country1/bluewidgets/</a> which serves up
 >identical content to the above first url.
 >
 >Is this bad?

No, if done properly. Cool URIs don't change.

 >There is no way around it, cause if i dump my old url (i have
 >50 important ones kept) I will have to get around 6,000 webmasters to change
 >my link url on their pages, which i dont want to have to do.

Keep the old URLs alive - don't drop them! Redirect them with a 301
("Moved Permanently") HTTP status code to the new URLs. There are
different ways to achieve this (script or server configuration:
mod_alias, mod_rewrite).

 >My programmer says it wont be a problem with google etc, but i'm worried. I
 >rely on this site for my income.

Having multiple URLs pointing to the same resource is always bad, it
confuses search engines and caches (the same resource will be cached
multiple times).

Micha<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: how to stop SE's listing both url's ? 
Back to top
Login to vote
Markus Ernst1

External


Since: Dec 08, 2003
Posts: 36



(Msg. 5) Posted: Thu Oct 21, 2004 8:44 am
Post subject: Re: how to stop SE's listing both url's ? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Chris wrote:

 > How do i get round this? The problem is, because the site is very much
 > database driven, i have no way of making it use the old format url's
 > for the 50 in question. I hope this all makes sense.

If it is about preventing search engines from indexing pages you might want
to search for informations about the robots.txt file which allows you to
exclude specified files and folders from search engine indexing. You can
also use the meta robots tag, but you have to include this one into the HTML
head of every page.

HTH
Markus<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: how to stop SE's listing both url's ? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Listing objects - Hi, Suppose we have a hierarchical class structure that looks something like this: Object | +-- Main | +-- Object1 | | | +-- Object11 | | | +-- Object 12 | +-- Object2 | +-- Object3 | +--..

listing root directory - I'm trying to write a script that shows a file picker for my whole web site. The only part I have left to do is making the script start at the root directory (my public_html folder). I've messed with chdir($_SERVER['DOCUMENT_ROOT']) for example but I jus...

Newbie Help. PHP4 to PHP5: problem listing $_GET values. - Hi, Hope Someone can help. I am migrating a web page originally written for PHP4 to PHP5, everything is going well, except for one problem which has me stumped! Part of my PHP script lists all the values passed to it in the URL and read using the..

Newbie Help. PHP4 to PHP5: problem listing $_GET values. - Hi, Hope Someone can help. I am migrating a web page originally written for PHP4 to PHP5, everything is going well, except for one problem which has me stumped! Part of my PHP script lists all the values passed to it in the URL and read using the $_GET...

Email suddenly stop working? - hi, I am wondering why suddenly email are not coming. Can anyone tell me if somethings change i have to made in my code since it was perfectly working few days before. we are using yahoo server so is there anything changed recently? my code is as..
   Database Forums (Home) -> PHP All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]