1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

help with https/www redirects

Discussion in 'General PHP and MySQL Discussions' started by dethfire, Jan 20, 2015.

  1. dethfire

    dethfire Well-Known Member

    Here is my redirect for http and non www

    RewriteCond %{HTTPS} !on [OR]
    RewriteCond %{HTTP_HOST} !^www\.physicsforums\.com$
    RewriteRule (.*) https://www.physicsforums.com/$1 [R=301,L]

    How does that look? I've been told that Xenu appears to be generating the site in http and then being redirected.
     

Share This Page