Conversation
supportI installed the plugin and saved it. I did not mention the expiry days and did nothing else, but got a 500. Now the site nor my admin would not open. So deleted the plugin from Cpanel, but still, I am getting the error page and not the site. What could be the reason and how to recover my site?
Hi, To use this plugin do the following: 1) Ensure that the “mod_expires” module is enabled from your host’s main configuration file. 2) Check with your hosting provider or if you have access to the httpd.conf file the following line should be uncommented: LoadModule expires_module modules/mod_expires.so If the above does not help, check the .htaccess file in your site and search for the following lines and delete them. # BEGIN Far Future Expiration Plugin <IfModule mod_expires.c> ExpiresActive on <FilesMatch “\.(gif|jpeg|jpg|png)$”> ExpiresDefault “access plus 5 days” </FilesMatch> </IfModule> # END Far Future Expiration Plugin Let me know if the above helps you. Thank you
Hi, To use this plugin do the following: 1) Ensure that the “mod_expires” module is enabled from your host’s main configuration file. 2) Check with your hosting provider or if you have access to the httpd.conf file the following line should be uncommented: LoadModule expires_module modules/mod_expires.so If the above does not help, check the .htaccess file in your site and search for the following lines and delete them. # BEGIN Far Future Expiration Plugin <IfModule mod_expires.c> ExpiresActive on <FilesMatch “\.(gif|jpeg|jpg|png)$”> ExpiresDefault “access plus 5 days” </FilesMatch> </IfModule> # END Far Future Expiration Plugin Let me know if the above helps you. Thank you