Dec 13, 2016 | Development

How to fix the internal server error in WordPress

If you’re facing HTTP 500 Internal Server Error in WordPress, Don’t lose your senses. It’s most common WordPress error although this error does not have any direct solution and we need to figure out the possible reasons causing this error.
In this article, We will discuss about the reasons of this error and possible ways to fix those issues.

Why Internal Server Error?

Internal Server Error is not WordPress specific error. This is generic error which can showed up at any website no matter it is using WordPress as a CMS or not. We can say it’s WordPress independent error.
In WordPress, this error can showed up because of poorly coded theme/plugin files or corrupted htaccess file or PHP memory limit.
Sometime, everything at website runs very smooth and when we tried to access dashboard area, this error message showed up.

Now let’s deal with problem.

Take a backup

Before putting your hands into the battle, We’d recommend you to take the backup of your website because we are going to play around root directory. Take the backup of files and database.
Backing Up?? Let’s get started!!

Diagnose htaccess file

First step to fix this error is to check the htaccess file against any corruption. You need to login your FTP client or cPanel and rename the old htaccess file with any other name htaccess_bkp would be good. You can locate htaccess file into public_html folder along with wp_content, wp_admin, wp_includes folder. If you’re trying to locate htaccess via cPanel and can’t find it; this file comes under the category of hidden file so show the hidden files.
Now try to open your website. If this fix the error, you won the battle very soon before celebration, it’s time to regenerate the htaccess file. For regenerating htaccess file go to WordPress dashboard area from Settings -> Permalink. Reset the permalink and this will generate the htaccess file and you need not read complete boring article. If regeneration of htaccess did not fix your issue bear with this article and let’s move to the next solution.

Posted By:
Mohammed Arif
Arif is Development Head at Elicus and has over 10 years experience in the development industry. He is passionate about WordPress. Follow him on Twitter @themohdarif.

0 Comments

0 Comments

2023 in Review: Celebrating Creativity and Growth at Elicus

2023 in Review: Celebrating Creativity and Growth at Elicus

2023 was a remarkable year for Elicus with new beginnings, amazing growth, and impressive contributions to the WordPress community. We not only enjoyed the pleasure of getting a new wonderful work environment but also welcomed new amazing talents to our team. We...

DiviExtended’s Black Friday Sale: Mega Savings + Win an iPad!

DiviExtended’s Black Friday Sale: Mega Savings + Win an iPad!

The Divi Extended Black Friday Sale is On The Horizon! It's that time of the year when Elicus is all set to launch its biggest sale of the year on DiviExtended.com. We are starting the sale early this year and it goes live on November 21st at 12 Noon UTC. The Elicus...

Elicus’ Journey at WordCamp Bhopal 2023

Elicus’ Journey at WordCamp Bhopal 2023

Continuing our love for WordPress and the journey we embarked on more than a decade ago, the team had the opportunity to visit the city of Lakes Bhopal for our next WordCamp event. Being a company that is fully based on products and services related to WordPress it...

How to Detect AI Content Effectively in 2024? Tips, Tricks and Tools

How to Detect AI Content Effectively in 2024? Tips, Tricks and Tools

If you want to detect AI content, consider all measures.  People are smart, and when it comes to AI content, they can go beyond all limits. Every day, there’s a new update or platform launched that provides content sensationally close to human writing, and if you...

Divi Extended
WPMozo
Divi WooCommerce Extended