Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Forbidden when accessing the wordpress admin panel

Here is the message which i get when Accessing the Wordpress Admin panel after enter the user name and Passowrd: Forbidden i've tried every thing to get out of it like, changing the .htaccess file and adding this piece of code

<Files wp-login.php>
    Order Deny,Allow
       Deny from all
Allow from all
</Files>

this one can'nt solve my problem too Forbidden You don't have permission to access /wp-login.php on this server

also tried this one

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} ^redirect_to=http
RewriteRule ^wp-login.php http://example.com/wp-login.php? [R=301,L]
</IfModule>

what else should i missing not able to login for the previous two days.


1 Answers

This is a very common problem you are facing. You must have change the network from which you are accessing the admin panel. This is because nowadays, the hosting providers blocks the IP address from which the WordPress sites admin panels are accessed frequently. The same thing happens here too. As such, change the network access and try again. This should hopefully solve your problem.

like image 121
user3568689 Avatar answered Mar 18 '26 14:03

user3568689



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!