View Full Version : 301 Redirect and Google
ResaleBroker
Aug 16th 2004, 11:19 am
I recently added a 301 redirect to my .htaccess file for my index page.
Googles cache results for the index page "were" being updated every other day.
Now the cache results show a page from 2 weeks back and haven't changed for more than a week.
How long do you think it will take before Google starts showing this redirect?
Thanks!
digitalpoint
Aug 16th 2004, 11:34 am
What are you redirecting to? The page you are redirecting from will disappear from the index altogether at some point.
ResaleBroker
Aug 16th 2004, 11:40 am
I am redirecting to another page on my site: http://www.resalebroker.com/real-estate-listings/index.php
This is the page I want to show up anytime someone goes to my site.
digitalpoint
Aug 16th 2004, 11:43 am
The cache is showing 3 days old actually...
http://216.239.57.104/search?q=cache:URMzlyoZl0cJ:www.resalebroker.com/real-estate-listings/index.php/+inurl:www.resalebroker.com/real-estate-listings/index.php&hl=en
ResaleBroker
Aug 16th 2004, 12:26 pm
I was referring to the "cache" that is showing up when I go straight to Google
http://www.google.com/search?hl=en&lr=&ie=UTF-8&q=www.resalebroker.com
By the way, based on what I'm trying to achieve the 301 redirect was the way to go, right? :o
digitalpoint
Aug 16th 2004, 1:13 pm
The cache is old because there is no such page anymore. As I mentioned, at some point that page will disappear from the index altogether.
ResaleBroker
Aug 16th 2004, 1:28 pm
I don't mind if the index page dissappears as long as any page rank that index page had transfers to the new page.
Old Welsh Guy
Aug 16th 2004, 2:44 pm
The redirect will kick in right away, but the Page rank normally take one, or sometimes 2 PR/B updates to kick in. Yahoo on the other hand is crap at handling 301's ;)
ResaleBroker
Aug 16th 2004, 3:03 pm
On a similar vein...
How do I configure mod_rewrite to change "any" instance of;
listingview...
to
real-estate-listings/listingview...
Thanks!
Owlcroft
Aug 17th 2004, 1:17 am
The redirect will kick in right away, but the Page rank normally take one, or sometimes 2 PR/B updates to kick in.Which is a colossal pain in the, ah, elbow, and seems grossly unfair. Does anyone have any idea of why G does things this way? It must be the commonest thing for people to re-organize sites, or break out what was a sub-site into its own domain. Why is there this bizarre delay in equating the new with the old? (It just kills me: I had a single page of one site that was #1 for its term, moved it to a new site of its own, even added in some other pages, and the whole thing vanishes without a trace of either old or new in the SERPs; had another "sub-site" that was #8/#9 for its term, same story; and this has happened before. Sure, in the fullness of time they return, but WHY this maddening and needless dropout period?)
How do I configure mod_rewrite to change "any" instance of;
listingview...
to
real-estate-listings/listingview...I assume from the ellipsis mark that there would be text following listingview that you would want passed on. If so, I believe this would do it:
RewriteRule listingview(.*)$ http://www.real-estate-listings.com/listingview($1) [L,R=301]
ResaleBroker
Aug 17th 2004, 6:30 am
I assume from the ellipsis mark that there would be text following listingview that you would want passed on. If so, I believe this would do it:
RewriteRule listingview(.*)$ http://www.real-estate-listings.com/listingview($1) [L,R=301]
Hello Eric,
Thank you for the help. If I can get this to work I won't have to redirect the index page and can avoid any hassle that comes with doing that.
The URL's that I want to redirect look like this:
http://www.resalebroker.com/listingview.php?listingID=2
I need the URL's to look like this
http://www.resalebroker.com/real-estate-listings/listingview.php?listingID=2
I tried the rewrite you suggested but it isn't working. Any ideas?
Thanks again,
ResaleBroker
Aug 17th 2004, 7:33 am
I played around with the code you provided and this "almost" works. The only thing wrong is it is leaving off the .php in the second instance.
RewriteRule listingview.php(.*)$ http://www.resalebroker.com/real-estate-listings/listingview$1 [L,R=301]
Outputs:
http://www.resalebroker.com/real-estate-listings/listingview()?listingID=2
Thanks for the help!
ResaleBroker
Aug 19th 2004, 9:55 pm
I finally figured it out. The code that works is:
RewriteRule ^listingview* http://www.resalebroker.com/real-estate-listings/listingview.php$1 [L,R=301]
Thanks everyone. I appreciate it!
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.