I wish to redirect ip range of a whole country using the following code. But i don't know how to use it in this code. * # permanently redirect specific IP request for entire site * Options +FollowSymlinks * RewriteEngine on * RewriteCond %{REMOTE_HOST} 22\.22\.22 * RewriteRule \.php$ http://www.destinationwebsite.com/ [R=301,L] Thanks in advance.