Outside the Cube (8826)
Web publishing (65)
about DelphiFAQ (14)
perl CGI (3)
Web Hosting (8)
New related comments
Number of comments in the last 48 hours
Getting started with CSS
How does a 302 redirect affect me? What is 302 Hijacking?
7 comments. Current rating: (2 votes). Leave comments and/ or rate it.
Question:I have heard about 302 Hijacking that possibly removes my site from google's index. How does a 302 redirect affect me?
Answer:Let's say a hostile site www.hostile.com sets up a 302 redirect to your site www.mysite.com, then googlebot (the spider) see the temporary redirect from hostile.com to mysite.com
Such a temporary redirect can be set up as a header redirect (clean solution with a 302 status) or supposedly also using meta tags.
When the spider sees the redirect, it concludes that www.hostile.com is a new version of your www.mysite.com - because the temporary redirect tells google that www.mysite.com is there only temporarily.
Logically Google will then remove www.mysite.com from its index. So now when someone uses a search term that would have normally brought up your site www.mysite.com will now bring up their www.hostile.com
Google knows of the problem but as of today (5/8/2005) the problem is not fixed. Google hides the wrong URLs artificially when you search using this special syntax ('site:www.mysite.com'). The hostile URLs are still in the database and will still come up on normal searches.