redirect

  1. F

    Redirect non-www to www and https using Redirect permanent

    Hi, I'm trying to redirect everything from non-www to www and using https, for example: example.com to https://www.example.com www.example to https://www.example.com I'm doing the changes in Configuration / Virtual Hosts / Rewrite This works: RewriteCond %{HTTPS} off RewriteRule (.*)...
  2. E

    Litespeed and the new cPanel force https redirect

    We are using cPanel cloudlinux with litespeed webserver for our shared hosting. Since version 80 of cPanel there is a nice force https redirect option in the customers cPanel interface. It works on the vhost level of apache so that no htaccess code is needed to redirect to https. Now the...
  3. P

    Rewrite help

    I have now a www -> non-www redirect running: RewriteCond %{HTTP_HOST} ^www\.mydomain\.com$ [NC] RewriteRule ^(.*)$ http://mydomain.com/$1 [R=301,L] this has worked well. -------- Now I have SSL on, and need to 301 redirect all http requests to matching https content. Also, ://www.mydomain.com...
  4. F

    Rewrite from http and www to https://non-www

    My goal is to redirect all http and www URLs to https://non-www To this end, I have written the following lines to .htaccess: RewriteEngine on RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} ^www\. [NC] RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC] RewriteRule ^(.*)$...
  5. J

    .htaccess redirects won't all work on Lite Speed

    Hi all, Have spent 3 days trying to get all url redirects to HTTPS to work but no matter what i try i cant get all urls to redirect to https://www.domain.com have looked high and low and tried 100 different ways without luck. Any help would be great! http://www.domain.com to...
Top