WP automatic update crashed website with a 500 error and .htaccess
-
Dear support,
Following automatic WP update to version 5.6 the website crashed with a 500 error message.Revising the .htaccess shows the following:
<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
<IfModule mod_setenvif.c>
# Netscape 4.x has some problems…
BrowserMatch ^Mozilla/4 gzip-only-text/html# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4.0[678] no-gzip# MSIE masquerades as Netscape, but it is fine
# BrowserMatch bMSIE !no-gzip !gzip-only-text/html# NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48
# the above regex won’t work. You can use the following
# workaround to get the desired effect:
BrowserMatch bMSI[E] !no-gzip !gzip-only-text/html# Don’t compress images
SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
</IfModule><IfModule mod_headers.c>
# Make sure proxies don’t deliver the wrong content
Header append Vary User-Agent env=!dont-vary
</IfModule>
</IfModule>The Error log file indicates the following:
.htaccess </IfModule> without matching <IfModule> sectionHow can I fix this problem?
Thank you in advance for all your help.
pertouwa -
Hi there,
It doesn’t look like you have any WordPress.com sites connected to this account. Can you tell us the address of your site?
Please note that we can only help with WordPress.com sites on this forum. If your site uses the WordPress.org site and is hosted elsewhere, you’ll need to either contact the hosting company for help or post on the WordPress.org support forum.
There are some differences between WordPress.com and WordPress.org. If you aren’t sure about the differences, please check the following article that details the differences: https://en.support.wordpress.com/com-vs-org
You can post on the WordPress.org support forum here: https://wordpress.org/support
Regards
-
Hello Aisajib,
Thank you for responding.
I’ve contacted Godady to help me solve the problem.
Have a lovely day.
Best regards :)
Pertouwa
- The topic ‘WP automatic update crashed website with a 500 error and .htaccess’ is closed to new replies.