Steps to allow wordpress admin access to specific IP Print

  • 0

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.

Was this answer helpful?

« Back