WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. jshapiro
    Member
    Posted 2 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?

    http://wordpress.org/extend/plugins/wordpress-https/

  2. Mvied
    Member
    Plugin Author

    Posted 2 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?

    Thanks,
    Mike

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic