Web Host Pro Posted September 7 Share Posted September 7 I have a redirect for all www. versions to go to the non www. version of my domain. But the www. version will not redirect as you can see: https://www.webhostpro.com My guess is something from WHMCS is blocking the redirect? 0 Quote Link to comment Share on other sites More sharing options...
RadWebHosting Posted September 12 Share Posted September 12 This will be related to your web server configuration and not anything to do with WHMCS 0 Quote Link to comment Share on other sites More sharing options...
Web Host Pro Posted September 12 Author Share Posted September 12 That's actually my point, it's not related to the web server. I added it on the web server and the redirect will not work. So the best idea I have is WHMCS is controlling it or blocking it somehow. How else ca the code in the .htaccess file not work? I have the same 301 redirect code in several other websites that works perfectly. It's only not working on the WHMCS website. Thanks though 0 Quote Link to comment Share on other sites More sharing options...
Solution Web Host Pro Posted September 12 Author Solution Share Posted September 12 Hmm, I go it to work after I wrapped it with <IfModule mod_rewrite.c> 👍 <IfModule mod_rewrite.c> RewriteCond %{HTTP_HOST} ^www\.webhostpro\.com [NC] RewriteRule ^(.*)$ https://webhostpro.com/$1 [L,R=301] </IfModule> 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.