looking to modify htaccess to deny request to view a single file vidmap.xml file from all except googlebot. and then redirect all other request to home page. here is what I have so far. RewriteEngine on ... ... ... ... <Files vidmap.xml> order allow,deny deny from all </Files> Code (markup): that works just fine for all request but getting it to allow googlebot and redirecting to my home page for denied request. I like htaccess but it scares heck out of me to play with it... so thanks for you sharp guys that are willing to help. Thanks, Jim
ok may have gotten a little further with some help from friend <Files vidmap.xml> order allow,deny deny from all allow from googlebot.com google.com satisfy any </Files> Code (markup): google will tell me I have it wrong for them when I get map submitted. Now just short how to redirect the failed attempts to site home .. if anyone has time to help out... Thanks
Ouch!!!! Ok then wondering about how to redirect users trying to access the h taccess file. I currently have it blocked for all using this <Files .htaccess> order allow,deny deny from all </Files> Code (markup): Now wondering if can get those people redirected to domain home page?