Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other htaccess redirect to https question

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #44225
    fooman
    Participant

    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 ^(.*)$ https://www.mysite.com/$1 [R=301,L]

    It does redirect and shows the urls as such: https://www.mysite.com/cool-page
    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)
  • The forum ‘Other’ is closed to new topics and replies.