How to fix 500 internal server error in wordpress

Corruption in .htaccess file caused this error.This is a simple htaccess error.

To fix 500 internal server error in wordpress

1.Save a copy of (backup) your .htaccess file.

2.Open your .htaccess file.

3.Delete all lines from your .htaccess file and save the file.

4.Login to wp-admin. In your admin dashboard click Settings and select Permalinks.

5.Set your permalink structure and click save changes.

Also Read:  WordPress Speculation Rules Dynamic Prefetching and Prerendering

6.If you have any other information in your htaccess file other than wordpress (ie.) manually added by you,add it again from your old .htaccess file.

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



This Post Has 2 Comments

  1. Mouad

    Thanx. I am using WP Network. Suddenly started getting the error when trying to access the network dashboard, although the sites on the network and their dashboards load just fine.

    I removed the htaceess and tried to access the dashboard but got same error

  2. Jamie

    You’re a lifesaver! Thanks for this fix.

Leave a Reply