Related Services:

WordPress Hosting

Situation :

Your WordPress website started showing 500 internal server errors or you want to get the Default Value Of .htaccess for WordPress websites

Solution :

On the WordPress website .htaccess is a special configuration file that can control how your server runs your website. Sometimes, it is modified by several plugins knowingly or unknowingly or by a user. 

To check if something is wrong with your .htacess code you can use a fast way which is to replace it with a Default Value Of .htaccess for WordPress websites, which is:

# BEGIN WordPress

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

Always remember to keep a backup of the original .htacess file for your reference. If the Netspace support executive does any modification on request the backup will be on the same folder with .htacess-nsi name.

Was this answer helpful? 0 Users Found This Useful (0 Votes)