Forum Moderators: Robert Charlton & goodroi
At www.site.com/folder I have nothing to show and it shouldn't be indexed by googlebot, but it is indexed.
1. 301 redirect to homepage
Options -Indexes /main-photo-folder/ now I saw in GWT that many clicks from google image search were going to /main-photo-folder/photo-folder-1/ and those weren't counted in Google Analytics
/main-photo-folder/photo-folder-1/ RewriteCond %{HTTP_REFERER} google
RewriteRule ^main-photo-folder/photo-folder-\d+/$ http://www.example.com/my-new-page.php [R=301,L] So it would be interesting to know how Google first thought of asking for these image directories. Do they contain any files other than images?
RewriteCond %{HTTP_REFERER} google
RewriteRule ^main-photo-folder/(photo-folder-\d+)/$ http://www.example.com/my-new-page.php?folder=$1 [R=301,L] Long time ago I installed an auto-generating sitemap script
All these folders are in main-photo-folder.
RewriteCond %{REQUEST_URI} !^/main-photo-folder/(realfolder|otherfolder)
RewriteRule ^main-photo-folder/([^/]+)/$ http://www.example.com/my-new-page.php?folder=$1 [R=301,L] Should I redirect 301-Permanent Moved all the requests including googlebot
Or 302 Found?
I see a lot of 403 folders listed under Crawl Errors -> Access Denied. So, I am not sure, in future those auto-generated pages by google will disappear from image search results?