← Back to WordPress not working

Likely fix

Fix: wp-admin is blocked, 403, or 404

wp-admin can be blocked by a security plugin, hosting firewall, wrong file permissions, changed login URL, .htaccess rules, or server configuration.

Quick answer

Check whether a security plugin changed the login URL or blocked your IP. Then check .htaccess, file permissions, and hosting firewall logs.

Important warning

If your IP is blocked by a security plugin, repeated attempts can extend the lockout.

Try this

  1. 1 Try opening /wp-login.php directly.
  2. 2 Check whether a security plugin changed the login URL.
  3. 3 Try from another network or mobile data.
  4. 4 Disable security plugins temporarily by renaming their plugin folders.
  5. 5 Check .htaccess for wp-admin or login restrictions.
  6. 6 Check hosting firewall or WAF logs.
  7. 7 Check file and folder permissions if the error is 403.

Common causes

Security plugin changed login URL.

IP blocked by firewall.

Bad .htaccess rule.

Wrong permissions.

Hosting WAF block.

Plugin conflict.

What to check next

  • Check /wp-login.php.
  • Check whether mobile data works.
  • Check security plugin settings.
  • Check .htaccess.
  • Check hosting firewall logs.

FAQ

Why is wp-admin showing 403?

A 403 usually means access is forbidden by file permissions, firewall rules, security plugin settings, or server configuration.

Can a security plugin hide wp-admin?

Yes. Some plugins change the login URL or block IP addresses after failed attempts.

Why does wp-admin show 404?

The login URL may have been changed, rewrite rules may be broken, or the WordPress files may be missing or moved.

Related fixes

Recommended hosting

Get your website online with Hostinger

WordPress, VPS, and domain hosting — fast, reliable, and beginner-friendly.

Blazing fast speed

LiteSpeed servers with global CDN

Free SSL & backups

Daily backups on every plan

1-click WordPress

Install in under a minute

VPS & cloud

Scale up when you need it

Affordable pricing

From €1.99/mo on long-term plans

Get hosting at Hostinger →

Use code IMAKEITWORK for an extra 10% off