MyBB Community Forums

Full Version: guys hel how to block the url
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
guys how to block the url cookie? example google.com how to block the word google? iwant to change that to *** like that or the name of my forum
What do you mean. Like the google bot, or the forum name. also you cant block url cookie because they areused to save sessions
A way to block people where you end up just redirecting them to a different url involves using the “mod_rewrite” functionality of your web server. Here’s how to block everybody from www.yahoo.com and www.google.com again (put this in your .htaccess file):

RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://www.yahoo.com/
RewriteRule /* http://www.yoursite.com/restricted_url.html [R,L]
RewriteCond %{HTTP_REFERER} ^http://www.google.com/
RewriteRule /* http://www.yoursite.com/restricted_url.html [R,L]
Wow, thanks a lot Yaldaram, I'll put this in my references. You never know Toungue
wow thanks sir yal... your the best dude... thanks it works
Thanks.
wow thanks sir yal... your the best dude... thanks it works plus(+) reputation
Most welcome.