Sometimes, when you apply a .htaccess file on your site, you get a blank page or an Internal Server 500 error message when trying to access your site's front- or back-end. Working around this is simple:
Using your favourite FTP application, e.g. FileZilla or CyberDuck, go to your site's web root
Find the .htaccess
file and rename it
to htaccess.bak
. If you do not see the
.htaccess
file listed there, create a blank
text file on your local machine, rename it to
.htaccess
and upload it to your site. It will
overwrite the existing one. At this point your permalinks don't
work. The next step will fix this.
Log back in to your site's wp-admin, go to Save and apply .htaccess.
, , disable some options and then click onIf this produces the same error, repeat this procedure. Do note that different servers support different features of our .htaccess Maker. There is no way to know beforehand. Making the perfect .htaccess for your site is a trial-and-error process.
Important | |
---|---|
Please note that on some servers changes on .htaccess files (or removing them completely) take anywhere between 10-30 minutes to become effective. On most servers it's instantaneous. |