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!
What are you redirecting to? The page you are redirecting from will disappear from the index altogether at some point.
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.
The cache is showing 3 days old actually... http://216.239.57.104/search?q=cach...oker.com/real-estate-listings/index.php&hl=en
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?
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.
I don't mind if the index page dissappears as long as any page rank that index page had transfers to the new page.
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
On a similar vein... How do I configure mod_rewrite to change "any" instance of; listingview... to real-estate-listings/listingview... Thanks!
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?) 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,
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!
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!