SEO and 403 Status Codes

Soldato
Joined
8 Oct 2005
Posts
4,184
Location
Midlands, UK
Hi,

If a page, indexed by google is returning a 403 code will this page eventually be removed from google?

I have old pages indexed in Google that are ASP.NET, the new site uses mod-rewite and PHP - thus I'm getting a 403 error for requests for .aspx pages. Turning off Options -indexes gives a 500 error.

I have tried setting up individual 301 redirects in my htacess file, but the 403 error is being thrown before these get read.

Any ideas, as ideally I'd be wanting to give a 404 or 301 status code for pages that I want removing from Google?

Thanks
 
set a rewrite rule matching any apsx extension to redirect to your new index page or the php replacement

if you do this instead of using a redirect then you can specify an execution order

reply with your .htaccess file if you cant figure it out and ill write you your new .htaccess file

to answer your question, yes these pages will expire in google because it reads the 403 code as good as the page not being there
 
Back
Top Bottom