[tblock anim=”swing” tcuscolor=”#7700ff” title=”How to Secure Your WordPress Admin to Restrict Access to Specific IP Address with HTACCESS?” tag=”h2″/] Copy and paste the code in .htaccess file. ErrorDocument 401 /path-to-your-site/index.php?error=404 ErrorDocument 403 /path-to-your-site/index.php?error=404 <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR] RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$ RewriteCond %{REMOTE_ADDR} !^IP Address One$ RewriteCond …
Read More »![](https://www.sushilkumar.ind.in/blog/wp-content/uploads/2016/03/custom_post_type.png)