Title: [Plugin: WordPress HTTPS (SSL)] Script needed for SSL and my host
Last modified: August 20, 2016

---

# [Plugin: WordPress HTTPS (SSL)] Script needed for SSL and my host

 *  [jshapiro](https://wordpress.org/support/users/jshapiro/)
 * (@jshapiro)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-script-needed-for-ssl-and-my-host/)
 * 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](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](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/](http://wordpress.org/extend/plugins/wordpress-https/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-script-needed-for-ssl-and-my-host/#post-2405132)
 * 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](https://yoursite.com)?
 * Thanks,
    Mike

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WordPress HTTPS (SSL)] Script needed for SSL and my host’ is
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-https_bec2c9.svg)
 * [WordPress HTTPS (SSL)](https://wordpress.org/plugins/wordpress-https/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-https/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-https/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-https/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-https/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-https/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [mvied](https://wordpress.org/support/users/mvied/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-ssl-script-needed-for-ssl-and-my-host/#post-2405132)
 * Status: not resolved