Internal server error- wordpress

The 500-Internal server error occurs more often which means something wrong with the site that the server cannot recognize.

How to fix it?

Here are the possible solutions to fix it.

1) Check and increase PHP limit:

Internal Server Error can be occurred due to insufficient memory, you have to increase the memory limit in your wp.config.php file.

--> Open wp.config.php file from website root folder and paste below code.

define('WP_MEMORY_LIMIT', '256M').

You can set a memory limit according to your requirement such as 64M, 128M.


if you face any issue while increasing a memory limit, you can contact your hosting support for further assistance.

 

2) Inspect .htaccess file:

.htaccess file is the main configuration file consists server configurations and necessary directives and rewrite rules, the corrupted .htaccess file is one of the reasons which can cause Internal server error.

By default .htaccess file is hidden you have to unhide it and rename to .htaccess_old, after doing this try to access your site.

By doing this you can access your site then you have to generate a new .htaccess file by saving the permanent link structure from settings> Permalinks.

 

3) Re-publish core files:

Corrupted core files may cause Internal server error, you have to update the latest version of WordPress and replace wp-admin and wp-includes directories to the new version, hence your content will remain as it is.

 

4) De-activate all plugins:

The plugin problem may be the reason for the internal server error, you can try to fix it by de-activate and re-activate all the plugins until you found the corrupted one. if you don't have access of the admin section then you can connect your site to FTP and can deactivate all plugins from the wp-content directory.

 

5) Contact hosting support:

If no luck with the above all solution, kindly contact your hosting support provider for a further check from the server end.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

SQL server- network related or instance-specific error happened while connection establishing

  Instance-specific or network related error happening while connecting to SQL server   Please...

OleDB connection string examples

OleDB connection string examples MS Access (Jet) "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA...

Do you allow custom COM components?

Do you allow custom COM components? We are not offering to install the custom COM components...

Error when accessing a WCF services

Error when accessing a WCF services Error when accessing a WCF service: "IIS specified...

How to cache static contents to client with UseMaxAge?

You can consider to caches static contents to the client with UseMaxAge if your website has too...

Powered by WHMCompleteSolution