Title: 500 internal server error sorry
Last modified: December 22, 2020

---

# 500 internal server error sorry

 *  Resolved [kostia98l](https://wordpress.org/support/users/kostia98l/)
 * (@kostia98l)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/500-internal-server-error-sorry/)
 * Hi, everybody. After activating the plugin, the site becomes unavailable “500
   internal server error sorry, something went wrong :(“and new entries appear in
   the htaccess file
 * # BEGIN WP-Optimize Gzip compression
    <IfModule mod_filter.c> <IfModule mod_deflate.
   c> # Compress HTML, CSS, JavaScript, Text, XML and fonts AddType application/
   vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType font/
   x-woff .woff AddType image/svg+xml .svg
 *  AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType 
   DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/vnd.ms-
   fontobject AddOutputFilterByType DEFLATE application/x-font AddOutputFilterByType
   DEFLATE application/x-font-opentype AddOutputFilterByType DEFLATE application/
   x-font-otf AddOutputFilterByType DEFLATE application/x-font-truetype AddOutputFilterByType
   DEFLATE application/x-font-ttf AddOutputFilterByType DEFLATE application/x-font-
   woff AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType
   DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType
   DEFLATE font/opentype AddOutputFilterByType DEFLATE font/otf AddOutputFilterByType
   DEFLATE font/ttf AddOutputFilterByType DEFLATE font/woff AddOutputFilterByType
   DEFLATE image/svg+xml AddOutputFilterByType DEFLATE image/x-icon AddOutputFilterByType
   DEFLATE text/css AddOutputFilterByType DEFLATE text/html AddOutputFilterByType
   DEFLATE text/javascript AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType
   DEFLATE text/xml
 * # Remove browser bugs (only needed for really old browsers)
    BrowserMatch ^Mozilla/
   4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE!
   no-gzip !gzip-only-text/html Header append Vary User-Agent </IfModule> </IfModule
   > # END WP-Optimize Gzip compression

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/500-internal-server-error-sorry/#post-13842002)
 * [@kostia98l](https://wordpress.org/support/users/kostia98l/)
 * Do you have any other rule added to your .htaccess file, besides the default 
   WordPress rules and WP-Optimize?
 * # 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
 *  Thread Starter [kostia98l](https://wordpress.org/support/users/kostia98l/)
 * (@kostia98l)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/500-internal-server-error-sorry/#post-13842641)
 * Yes,
 * RewriteEngine On
    RewriteCond %{SERVER_PORT} !^443$ RewriteRule .* [https://%](https://%){
   SERVER_NAME}%{REQUEST_URI} [R,L]
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule
   ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /index.php [L] </IfModule>
 * # END WordPress
 * #Options All
    Options -Indexes RewriteEngine On
 * is there something wrong?
    -  This reply was modified 5 years, 4 months ago by [kostia98l](https://wordpress.org/support/users/kostia98l/).
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/500-internal-server-error-sorry/#post-13846603)
 * [@kostia98l](https://wordpress.org/support/users/kostia98l/)
 * Can you please only have the following rules in .htaccess file and then activate
   the plugin do you still get 500 error?
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule
   ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /index.php [L] </IfModule>
 * # END WordPress
 *  [Bonaldi](https://wordpress.org/support/users/bonaldi/)
 * (@bonaldi)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/500-internal-server-error-sorry/#post-13903633)
 * Hi,
 * I have the same problem.
 * On activation I have a 500 internal server error.
    Even if I put only the above
   rules and the WP-Optimize rules. To recover the site, I have to remove the WP-
   Optimize rules in the .htaccess.
 * Regards.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘500 internal server error sorry’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Bonaldi](https://wordpress.org/support/users/bonaldi/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/500-internal-server-error-sorry/#post-13903633)
 * Status: resolved