Grow your CSS skills. Land your dream job.

htaccess – redirect from http to https, but items still seemed to be coming from http

  • # January 4, 2013 at 10:10 am

    I’d like to simply redirect all pages to https.
    I have the following in my htaccess file:



    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

    The issue I’m having is that files have the proper url I’m looking for (https://www.example.com), but are still being served from the http side.
    I have no idea why :(

    Am I going about this incorrectly?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".