20100305

How To Deny Access via IP Addresses

 How To Allow /Disallow Access To Your Site To Specific IP Addresses?

The following tips is for those webmaster who can acess the ".htaccess file"e.g.Wordpress.

Some time you need to you block access to your website from everyone except the IP addresses you specify.For any reasons This tricks can be veryy useful if your blog or website is under construction and you don’t want other visitors to see the site, or have search engine spiders indexing pages that are not yet completed.

By placing the following code in your .htaccess file,


order deny,allow
deny from all
allow from 12.345.67.890


 Use Htaccess Allow IP Address-
Just insert your IP address, or the IP addresses you wish to allow access to your site. Each IP address is placed on a new line. For example:


order deny,allow
deny from all
allow from 12.345.67.890
allow from 890.67.345.12



Advance Blogging Tips By http://wwwebog.blogspot.com
How To Allow /Disallow Access To Your Site To Specific IP Addresses

No comments:

Post a Comment

weblog Contents: