suporteescoladeninja Hello good afternoon. I have a problem when I configure the server with Open Lite Speed with the wp-rocket plugin. The wp-rocket plugin makes a change to the .htaccess file and after that whenever I go to the site and it makes a change to the .htaccess file, It opens a download file see: https://prnt.sc/125n4y1 Does anyone know what to do in .htaccess to solve this problem? I am using WordPress, I identified this problem on 3 sites. I appreciate any help.
aapanel_power suporteescoladeninja Hello, I suggest you troubleshoot the pseudo-static rules for errors?
suporteescoladeninja Hello good day. How do I add these pseudo static rules for errors? Can anyone tell me? I don't know how to do it, thank you for any help?
Stealth I have this problem too yet. Restarted the PHP 7.4 and the OLS and working. How long, I don´t know... Okay, again downloading, but only at the new site, other old sites are all ok. Index page downloading, other links on page opening...
suporteescoladeninja In this case, do you always have to restart OLS and PHP74? Not to have this problem? It does not make sense.
Stealth I make a new .htaccess and the problem is solved. I don´t know which line from thousand lines make the problem, but try you too.
suporteescoladeninja Hello good morning, see how is my htaccess rule: https://prnt.sc/12sxq88 I also tried to create a new .htaccess file, but I added a wp-rocket plugin and restarted OLS and also PHP74. But there should be another solution.
Stealth Okay, I HAVE THE PROBLEM!!! WP Rocket make bug at new versions, only at OLS server downloading index file. When you delete the WP Rocket lines in .htaccess, website working like before (don´t forget restart to read again .htaccess). Solution is only to change for a few weeks to other caching plugin (like Swift Performance Free/Pro) or so...
deewinc This is an issue that affects LiteSpeed and OpenLiteSpeed servers. You need to download and install the WP Rocket Helper plugin from here. https://docs.wp-rocket.me/article/1452-browser-downloads-file-when-opening-a-page
Stealth "The quick fix is to install this helper plugin which removes all the htaccess rules." So... Only delete it from .htaccess like I say. Then who make mistake? LiteSpeed, aaPanel or WP Rocket? Other cache plugins work perfectly without downloading...
deewinc Stealth ~ If you read that article, WP Rocket clearly says that it's an issue that affects LiteSpeed and OpenLiteSpeed severs. They don't even know why it happens. In short, the burden is on LiteSpeed. And I don't think they will fix it as they have a dedicated Cache plugin (LiteSpeed Cache). So, they won't be working towards assisting a competitor beat them 🤣 🤣 🤣
Stealth deewinc Yes, the WP Rocket is superB company, don't know what is the bug. Congratulations... No problem with LiteSpeed, all other plugins working (I have Swift Performance, WP fastest and Comet cache). No one have this problem.