The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

htaccess redirect to https question

  • # April 18, 2013 at 2:57 pm

    How does it work when you do a 301 redirect from http to https? Do they pages actually get served from https, or are they actually served from the https folder?

    I have the following:

    RewriteRule ^(.*)$$1 [R=301,L]

    It does redirect and shows the urls as such:
    However, it still is serving the pages from the http folder.

    I can tell because if I remove a file from the http folder and try to go to that url through https, it shows a 404 error even tho the URL says it’s going to https (which still does in fact have that file).

    I can do anything to help clarify please let me know, I realize this is all kinda blah to read.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed