i have a website that i want to cloak everyone but google does anyone know how i would write this in .htaccess
it would be nice also if someone could pust a .htaccess redirect for if there is NO Referrer.
i have a website that i want to cloak everyone but google does anyone know how i would write this in .htaccess
it would be nice also if someone could pust a .htaccess redirect for if there is NO Referrer.
i have no clue what i am doing so if ANY of this is right its pure luck.
what im trying to do is if the referrer is anyone but stealingthemblind.com i want it to load index.html but if the referrer is stealignthemblind.com i want it to load index.php
Code:RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?stealingthemblind.com/.*$ [NC] RewriteRule /*$ / [L,R] RewriteBase / RewriteCond %{HTTP_USER_AGENT} .* [OR] RewriteRule /*$ index.html [L,R]
If you are trying to block google from spidering your pages, block their ip addresses. Subscribe to a service like spiderspy...that's your best bet.
Edit: block their ip addresses = show them only certain pages
Last edited by Jagged55; 01-21-2009 at 06:47 PM.
okay let me rephrase this.
after spending the last few hours trying to figure it out.
i want to force all external links to load index.html but internal site links to load normally.
Bookmarks