Redirected HTTP to HTTPs with htaccess but still have problem

Discussion in 'General' started by Ryan Rajpoot, Oct 25, 2016.

  1. Ryan Rajpoot

    Ryan Rajpoot New Member

    I have added SSL to my website and redirect http non-www to https www with htaccess but sometime https shows in my domain name and sometimes not on browsers. I just want to know whether it's htaccess redirection code issue or SSL installation issue or anything else. If you ask i can show you my htaccess codes. One more thing, The site is currently added to Google Webmaster Tools as www.pnrstatusbuzz.in and all the pages are indexed without using SSL. Do I just submit a updated sitemap which has the HTTPS URLs or Do I add a new site as https://www.pnrstatusbuzz.in and submit the sitemap with HTTPS urls?
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    If I understand you correctly, it probably depends on your browser. In chrome/chromium, I see http connections as just the domain name in the location bar, but https connections show the full https://sitename.tld/ - if that's what you're seeing, it probably means you're not accessing the site over https:// when you don't see it there.

    As for search console, I'm not an expert, but I would add the site to search console using https url's (https://domain.tld/ and https://www.domain.tld/), select the preferred alternative, and submit a new sitemap in the https entry which used https url's, and follow up with http->https redirects, hsts header and csp header to upgrade insecure requests.
     
  3. Ryan Rajpoot

    Ryan Rajpoot New Member

    Thanks for the response, i liked your advise. As per your advise, i will submit https url and it's sitemap to the Google webmaster tool.
     
  4. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

  5. Ryan Rajpoot

    Ryan Rajpoot New Member

    Thank for the response, i have read it and do as per the instruction.
     

Share This Page