+92 300 750 7374

Wednesday, 16 July 2014

Protect Your WordPress Blog With Out Any Plugin




Good day, dear readers!

In this post I want to tell you yet another effective way to protect against hacking admin. Earlier I wrote about the plugin admin protection from password guessing I try to use a smaller plug on your blog to accelerate downloading it. After installing a new design this issue is especially important for me, since those who have slow internet, my blog is loading slowly.

How Its Works 

As you guessed, it goes on the next plugin, but protecting the admin using code. The whole principle of this code is simple.It is to verify the IP address from which to access the admin panel. This method has one drawback, because of which, it's not everyone will want to use to protect their site. All the matter in the IP address. Before you use this method to protect the admin without plugin, you need to learn what you have an IP address. There are two types: dynamic and static. Do not be put off by these words. Dynamic means that the IP address of your computer after changing every computer can connect to the Internet, and static - means that the ip address does not change.


How to determine what your ip,


 if you still do not know it, or you simply do not need to know. Very simple. Here this site will show the current IP address http://www.myipaddress.com/show-my-ip-address/http://www.myipaddress.com/show-my-ip-address/ . Now disconnect from the Internet (modem reboot) and check whether tsiferki changed.

Also, decide what devices you enter the admin site. If it is a single computer with a static ip, you can safely use the method of protecting the admin, which will be shown below. Otherwise, it will be more efficient to install the plugin Login LockDown. In the case of dynamic ip, if you decide to use this method, you have to register every your current ip and copy the file to your hosting to get into the admin.

Now let's look at the points of how to protect the admin area of ​​your blog by IP address:
Copy The Code Below


<Files Wp-login.php>

Order deny, allow

Deny from All

Allow from 000.000.000.000 # Replace toe with your IP

</ Files>

Connecting to hosting any convenient way for you. Find the file. Htaccess, it is in the same folder where wp-admin, wp-content.

Please copy the file to your computer. It is desirable to keep another copy to the folder where you store backup template and database. Could it be that the file is not yet in hosting. Then you create it in a text editor Notepad + +, as a simple document, he was awarded the title only. Htaccess.
Open this file and paste it in the code that you have opened the link in the first paragraph. Note that instead of 000.000.000.000 to insert your ip. Which site to watch it, I wrote at the beginning of this article. If the file. Htaccess was some code, the code is to protect the admin insert after it.
The last step - save the file and replace the file on the hosting that file that you just edited.

That's it. As you can see, restrict access to the admin site by IP address is not difficult. The main thing that you were among the lucky ones who have a static IP

0 comments:

Post a Comment