The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

WordPress HTTPS (SSL)
Script needed for SSL and my host (2 posts)

  1. jshapiro
    Posted 4 years ago #

    I upgraded my hosting today to support dedicated SSL on my site. The hosting company, 1and1, told me that I can't simply start using https://mysite.com to get this to work. I have to put a script in the root of my site. They mailed me a sample bit of code which they said should be put in the .HTACCESS file. Here's the sample code they sent me:

    RewriteCond %{HTTP_HOST} ^(.*\.)*yourdomain.com$ [NC] RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R]

    I am no programmer, and I don't really know what to do with that. Can you help?


  2. Mike Ems
    Plugin Author

    Posted 4 years ago #

    Hey jshapiro,

    You don't need to put anything in your .htaccess file to use HTTPS. What they're telling you to put in your .htaccess file would always redirect your site to HTTPS. You don't really need to do that.

    What happens when you browse to https://yoursite.com?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress HTTPS (SSL)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic