473,396 Members | 1,858 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,396 software developers and data experts.

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

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
Jul 17 '05 #1
4 1867
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: 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

Hi Chris,

Have a look at the following article:
http://www.alistapart.com/articles/urls/

Should point you in the right direction.

Grz, Juliette
Jul 17 '05 #2
"Chris242" 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:
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


From what I have read, the best way is with permanent redirects.
Google talks about it: http://www.google.com/remove.html#change_url

--
http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbForumz.com/PHP-stop-SE-...ict162227.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=543402
Jul 17 '05 #3
.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: 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?
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
Jul 17 '05 #4
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
Jul 17 '05 #5

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

Similar topics

5
by: xxdecieverxx | last post by:
Im making a site... i need to know how to make a window... such as jus a normal windo where i can write text on my site and also have a scro bar on it... almost exactly like this window im typing...
3
by: David Jacques | last post by:
I am trying to get a list of all files of a certain extension type on disk to do some processing in a loop. The code needs to be portable to UNIX, so I need to use plain c functionality. Does...
2
by: Tom | last post by:
I need to get a directory listing through http. If I put the directory path in the browser address bar such as http://somewebpage.com/subdir I get the listing of the directory. Of course this is...
12
by: Vadym Stetsyak | last post by:
Hi there! Is there any way how can I stop garbage collection for a period of time. Lets say, I have a form. Before form load I pause the GC and when the form is shown resume GC
6
by: MA | last post by:
Hi all! I know there is other newsgroups for webservices, but I don´t get any answers on those. I have developed a webservice that writeing and reading files in different folders. Question...
3
by: Bennett Haselton | last post by:
I want to display a hierarchical listing of items from a database table, where, say, each row in the table has an "ID" field and a "parent_id" field giving the ID of its parent (NULL if it's at the...
8
by: gil | last post by:
Is it possible to prevent a browser from listing the entire contents of a folder? The site, is hosted on my ISP with the following layout- site/ "user name from ISP" pagefile (dir)...
3
by: cj | last post by:
This program is used to send files to an ftp server at 2:00am each day. At the very top of my program I dim a new instance of a com FTP control. I have a processing sub which calls a login function...
1
by: aj | last post by:
A few service stop/start/restart questions on SQL Server 2005 SP2, which I'll call SQLS. It looks as if there are *potentially* 6 ways to start/stop SQLS Services like the engine itself,...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.