I am having problem with a wordpress install. I added a plugin that allows the htaccess file to be edited for admin access restrictions.
In order to test it I blocked my own IP. It worked. I then edited the htaccess file adding my .25 IP and uploaded via F-T-P so I could access to the admin page.
I am still blocked.
Next I logged in to the cpanel control for this site and used the file manager to confirm the correct IP .25 was indeed allowed to access the admin file.
The file managed showed the correct IP in there and I was still blocked so I used the file manager to edit out all the changes and return the htaccess file to the pre-modified form.
I'm still blocked - getting the 403 Forbidden page.
Origenal wordpress code
code after the htaccess plugin modded the file - this code was removed and the htaccess file was returned to the version above but access is still restricted and I'm getting 403 Forbidden pages on wordpress admin access.
As you can see I should be able to access the wordpress admin files but I can't. I changed my fixed IP to .24 and it still does not allow access. Cleared all browser catch files and restarted the PC. Tried access from another computer in the house and getting the same thing, 403 Forbidden page.
Ideas?
Bob
###
In order to test it I blocked my own IP. It worked. I then edited the htaccess file adding my .25 IP and uploaded via F-T-P so I could access to the admin page.
I am still blocked.
Next I logged in to the cpanel control for this site and used the file manager to confirm the correct IP .25 was indeed allowed to access the admin file.
The file managed showed the correct IP in there and I was still blocked so I used the file manager to edit out all the changes and return the htaccess file to the pre-modified form.
I'm still blocked - getting the 403 Forbidden page.
Origenal wordpress code
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# BEGIN RestrictByIP
<Files wp-login.php>
Order Deny,Allow
Allow from 00.000.000.25
Deny from all
</Files>
# END RestrictByIP
Ideas?
Bob
###
Comment