1. Home
  2. Knowledge Base
  3. cPanel
  4. Settings
  5. Steps to allow wordpress admin access to specific IP

Steps to allow wordpress admin access to specific IP

Step 1: Login to your cPanel account.
Step 2: Select FileManager under FILE.
Step 3: Click settings at top right corner. In the popup tab select the DocumentRoot for your domain.
Step 4: Open the .htaccess file.
Step 5: Enter the below code to access from single IP address.

+++
Order Deny, Allow
Allow from IPaddress
Deny from all
+++

Step 6: Replace the IPaddress by your public IP address.
Step 7: Click Save option.

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support