# 403 error when accessing wp-admin

**URL:** <https://forum.infinityfree.com/t/403-error-when-accessing-wp-admin/62402>\
**Category:** Hosting Support\
**Created:** [June 7, 2022, 1:51pm UTC](https://forum.infinityfree.com/t/403-error-when-accessing-wp-admin/62402 "2022-06-07T13:51:39Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Oxy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/oxy/32/37989_2.png) [@Oxy](https://forum.infinityfree.com/u/Oxy)\
**Post date:** [June 7, 2022, 3:54pm UTC](https://forum.infinityfree.com/t/403-error-when-accessing-wp-admin/62402/4 "2022-06-07T15:54:00Z")

</div>

You can do this first (because maybe it’s just a syntax error somewhere )

> [@Http error 500](https://forum.infinityfree.com/t/http-error-500/49352):
>
> When trying to access your website, you may see a page which returns the status code “500”. In Google Chrome, you’ll see a page with the error code HTTP ERROR 500. There are typically two reasons which can cause this error: The PHP code has crashed. The .htaccess file contains invalid rules. Here are some things you can try to debug and fix this. Fixing crashing PHP code A HTTP ERROR 500 simply tells you that the PHP code has crashed, but gives no information as to why it has crashed. Gett…

> [@SpanishCrusader](#):
>
> and just restore all the content

Of course - since you have backups then you can do whatever you want.  
P.S. edit wp-config.php if necessary !

---

_[View the full topic](https://forum.infinityfree.com/t/403-error-when-accessing-wp-admin/62402)._
