Hi Folks
I wonder whether I can pick your collective brains with a query about Google please?
I’ve changed URLs and I would like to have Google completely ignore my old address
The complication is it’s only the domain name that’s changed.
The Site itself is still on the same host and the files are now in a sub-directory of the address above – which the new domain points to.
Therefore I wouldn’t want Google to stop cataloging the sub-directories, just the main index
I’ve revised the Source code on the page to read as follows and Google has now stopped linking to cached versions of the old Index.
However this effectively blank page is still high in its listings?
Is there some code I can add to ensure Google completely ignores my old Index Page without affecting any sub-folders
Cheers
Andrew






Busy posted this at 23:27 — 3rd July 2005.
He has: 6,157 posts
Joined: May 2001
The robots rule will only take effect the next time your site is crawled, even then could be a week or three for the change to take effect
<?bhb if(broken){ echo("It wasn't me
"); } ?>
Learn HTML the ez way - EzHTML.net
Some people are like slinkies, they dont really serve any purpose but they still bring a smile to your face when you push them down the stairs ...
dvduval posted this at 03:19 — 4th July 2005.
They have: 52 posts
Joined: Dec 2002
What a about a 302 redirect?
Andrew_Samuel posted this at 09:35 — 4th July 2005.
They have: 82 posts
Joined: Jun 2002
The change took place over a month ago so Google should picked up the changes by now.
I think re-direct pages look tacky and I'd favour just droping the old address completely - especially as my new address is already being picked up.
chrishirst posted this at 12:45 — 4th July 2005.
He has: 379 posts
Joined: Apr 2005
use a 301 server side redirect that way the backlink credit gets passed on. That's probably why the old page(s) are high in the listing and done properly no one ever sees a redirect.
Chris
Indifference will be the downfall of mankind, but who cares?
Venue Capacity Monitoring
Code Samples
Andrew_Samuel posted this at 21:31 — 4th July 2005.
They have: 82 posts
Joined: Jun 2002
Chris
How do I setup a "301 server side redirect" and can you please clarify what you mean when you say "when done properly no one ever sees a redirect".
Thanks
chrishirst posted this at 06:28 — 5th July 2005.
He has: 379 posts
Joined: Apr 2005
For your site I don't know offhand.
It's running on Apache on Unix so you may or may not have .htaccess available. HR thread on 301 redirects
If a redirect is set up server side, it's done and dusted before anything is sent to the user agent so appears seamless to browsers, the only thing visible would be a different URI in the address bar.
Yahoo btw are now treating a 0 sec meta refresh as a 301 and anything more as a 302. No information how MSN and Google treat them as yet.
Chris
Indifference will be the downfall of mankind, but who cares?
Venue Capacity Monitoring
Code Samples
Andrew_Samuel posted this at 21:49 — 9th July 2005.
They have: 82 posts
Joined: Jun 2002
I created an .htaccess file with the following contents
redirect 301 /index.htm (url)
in the root directory of my site.
Trouble is the url I am redirecting to is contained within a subdirectory of my site.
When I go to the original url it is unable to reach the redirect page and the browser hangs. Am I right that the .htaccess file also applies to subdirectories off the root - if so am I getting an endless loop of redirects back to the index?
Your input gratefully received
Thanks
Andrew_Samuel posted this at 21:16 — 12th July 2005.
They have: 82 posts
Joined: Jun 2002
Anyone please?
Andrew_Samuel posted this at 20:56 — 14th July 2005.
They have: 82 posts
Joined: Jun 2002
taps microphone to check it's still working
chrishirst posted this at 08:16 — 15th July 2005.
He has: 379 posts
Joined: Apr 2005
You are going to have problems using .htaccess to redirect from an alias to another alias using the same HD space. Because the .htaccess is in the root folder it will apply site wide and across the aliases.
You may have more success by using absolute references in the redirects rather than relatives.
Chris
Indifference will be the downfall of mankind, but who cares?
Venue Capacity Monitoring
Code Samples
Andrew_Samuel posted this at 21:28 — 16th July 2005.
They have: 82 posts
Joined: Jun 2002
Thanks Chris I feared as much
I've resorted back to a simple JS redirect on my old Index until I research something better.
Cheers
Andrew_Samuel posted this at 23:14 — 19th July 2005.
They have: 82 posts
Joined: Jun 2002
.