treehouse : what would you like to learn today?
Web Design Web Development iOS Development

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

  • 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?