Announcement

Collapse
No announcement yet.

HTTP to HTTPS Upgrade .htaccess question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    HTTP to HTTPS Upgrade .htaccess question

    I am using Jenn Raldolph's guide to upgrade my site form HTTP to HTTPS. So far it is done. I created the Apache redirect in the .htaccess file as Raldolph wrote it

    RewriteCond %{HTTP_HOST} !^www\. [OR]

    RewriteCond %{HTTPS} off

    RewriteRule ^(.*)$ https://www.domain.com%{REQUEST_URI} [R=301,L]

    but I am noticing that if you navigate to my site using a link that is http it will still take you to the http site.

    Is there some way to change this so all HTTP traffic is redirected as HTTPS? and MORE IMPORTANTLY, should I? I'm sure Jenn Raldolph wrote it that way for a reason.


    KEvin

    __________________________
    GEOGRAPHIUCS ANTIQUE MAPS
    923 Putnam Ave
    Brooklyn,NY 11221
    TEL: 646-320-8650
    www.GEOGRAPHICUS.com

    #2
    It's a bug in the URI management screen. Miva generates the pages as non-secure. I just faced the same issue and was able to address it by writing the secure prefix directly to the database. See this thread for more info:

    http://www.miva.com/forums/forum/onl...nerated-secure
    Todd Gibson
    Oliver + S | Sewing Patterns for Kids and the Whole Family

    Comment


      #3
      Here is what I was give for the all HTTPS

      # ----------------------------------------------------------------------
      # Force HTTPS
      # ----------------------------------------------------------------------

      RewriteCond %{HTTPS} off [OR]
      RewriteCond %{HTTP_HOST} !^www.domain.comt$ [NC]
      RewriteRule ^(.*)$ https://www.domain.com/$1 [R=301,L]
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment


        #4
        Seems to be working, thanks!
        __________________________
        GEOGRAPHIUCS ANTIQUE MAPS
        923 Putnam Ave
        Brooklyn,NY 11221
        TEL: 646-320-8650
        www.GEOGRAPHICUS.com

        Comment

        Working...
        X