homepage Welcome to WebmasterWorld Guest from 54.226.213.228
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Google / Google News Archive
Forum Library, Charter, Moderator: open

Google News Archive Forum

    
Miss-timed a change
My big errer
mack




msg:89613
 5:39 pm on Aug 21, 2002 (gmt 0)

I was watching for Googlebot just after the last crawl to ensure it indexed a change of a directory name on my site. It indexed all the new filenames so I deleted all the old stuff from my server just as the update started. I am now seeing that Google is not showing the url's for my new content. Just the links to the old stuff that I removed. Thankfully I have all the old stuff backed up and it is now on the server in it's old positioning and all Google links point to the right content.. What should I do now. I want goggle only to index the new file structure an ignore the previous pages. should I just ban Googlebot from the old directories an make sure all links remain pointing to the new directories???

[edited by: mack at 6:15 pm (utc) on Aug. 21, 2002]

 

deltakits




msg:89614
 5:51 pm on Aug 21, 2002 (gmt 0)

I did the exact same thing...minus the deleting part. I renamed my pages, and on the old ones I disallowed crawlers, and did a javascript redirect to the new ones. I noticed it to, how mid month google had my new pages, but now they're back to the old. Guess there's next month! :)

pageoneresults




msg:89615
 6:06 pm on Aug 21, 2002 (gmt 0)

> What should I do now. I want goggle only to index the new file structure an ignore the previous pages. should I just ban Googlebot from the old directories an make sure all link remain pointing to the new directories???

301 redirects quickly! Make sure you redirect old file name to new file name.

mack




msg:89616
 6:14 pm on Aug 21, 2002 (gmt 0)

Forgive me for sounding dumb but how exactly do I redirect with 301. Is it through robots.txt or htacces.

As for the javascript redirect. That would mean altering each page. there are 2400 of them :)

deltakits




msg:89617
 6:25 pm on Aug 21, 2002 (gmt 0)

You probably don't want to go with javascript...:) 2400 pages later google would be doing their NEXT update!

pageoneresults




msg:89618
 6:49 pm on Aug 21, 2002 (gmt 0)

mack, through htaccess, unless you are on a Windows box, then you do it through IIS and host headers.

mack




msg:89619
 4:27 am on Aug 22, 2002 (gmt 0)

OK the main change was a directory rename.

mysite.com/old/content/.....
becomes
mysite.com/new/contect/.....

can I still use htaccess at root directoryto redirect from old to new... for example if a user requests /old/page1 will it be possible to redirect them to /new/page1.

Is it possible to send a user to the same page but in a different directory. I have never worked with htaccess before.

bobriggs




msg:89620
 5:06 am on Aug 22, 2002 (gmt 0)

This should work:

RedirectMatch 301 /old/(.*) [mysite.com...]

See:
[httpd.apache.org...]

If you don't put the 301 in there, apache will default to a 302 status code.

Jigit




msg:89621
 8:55 am on Aug 22, 2002 (gmt 0)

Here is how I do 301 redirects in my .htaccess

redirectpermanent /old-dir/page.htm [yoursite.com...]

Hope it helps.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google News Archive
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