Daskew78 Posted April 6, 2018 Share Posted April 6, 2018 Hi, Since updating to 7.5.0 I found domain searches were not completing and just hanging. After a lot of problem solving it came down to some .htaccess code redirecting index.php to root. It's common code for websites and always worked but suddenly WHMCS 7.5.0 doesn't like it: ### # redirect to www ### <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} on RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </IfModule> Has anyone else experienced this or can you test if your domain search works with this code on your websites? Also, I noted it's much slower on PHP5.6 since the update, I am hoping 7.1 will speed this up considerably but waiting for another app to be compatible first. Can anyone else confirm they are finding 7.5.0 slow on PHP5.6? Cheers guys. Link to comment Share on other sites More sharing options...
Daskew78 Posted April 6, 2018 Author Share Posted April 6, 2018 I pasted the wrong code, that was for redirecting non-https > https. The code I'm having issues with is: ### # Redirect index.php to root ### <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{THE_REQUEST} ^.*/index\.php RewriteRule ^(.*)index.php$ /$1 [R=301,L] </IfModule> Thanks Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted April 7, 2018 WHMCS Support Manager Share Posted April 7, 2018 Hi @Daskew78, This code isn't necessary in WHMCS. Instead make sure your Setup > General Settings > WHMCS System URL begins with https:// and all pages will be served over https. Link to comment Share on other sites More sharing options...
Daskew78 Posted April 7, 2018 Author Share Posted April 7, 2018 Hi @WHMCS John, Please see my own rely to my reply, I pasted the wrong code. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts