Title: Is it safe to switch to https?
Last modified: August 22, 2016

---

# Is it safe to switch to https?

 *  Resolved [edow](https://wordpress.org/support/users/edow/)
 * (@edow)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/is-it-safe-to-switch-to-https/)
 * Hi,
 * I would like to get a SSL certificate for my WordPress site. Is it safe to switch
   from http to https? My host says it’s an automatic install, but shouldn’t I change
   all the URLs?
 * How about all the plugins and the WordPress files? Will they still work? Should
   I change all the URLs in my theme files? That should be easy, but I’m more concerned
   about the plugins and the WordPress files.
 * I’m worried that if I get the SSL certificate my site stops working properly.
   Maybe someone has some experience with this.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [respectyoda](https://wordpress.org/support/users/respectyoda/)
 * (@respectyoda)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/is-it-safe-to-switch-to-https/#post-5173592)
 * Here’s several questions:
    1. Do you want the entire site under https?
    2. Are your URLS absolute or relative URLS?
    3. Do you want the login page to be under https?
 *  Thread Starter [edow](https://wordpress.org/support/users/edow/)
 * (@edow)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/is-it-safe-to-switch-to-https/#post-5173645)
 * Hi, thank you for your reply.
 * Yes, I was thinking about doing it for the entire website. In my theme I have
   hard coded URLs and some WordPress permalink PHP codes for example, so I have
   both I guess. But I’m not sure about the WordPress core and the plugins. If it’s
   not recommended then I don’t need it for the login page, but otherwise I do.
 *  [respectyoda](https://wordpress.org/support/users/respectyoda/)
 * (@respectyoda)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/is-it-safe-to-switch-to-https/#post-5173820)
 * Hard coded URLS in your theme can cause https not to work, especially on the 
   pages you want to be served under https. For https to work effectively, it is
   not just links that need to be relative, but images also need to have relative
   urls for the src attribute.
 * Now, for pages to be served under https, there’s a nifty plugin to aid you with
   this: [WordPress HTTPS](http://wordpress.org/plugins/wordpress-https/).
 * Now, if you want the login page to be served under https, it’ll require you to
   add the line of code below to the wp-config.php file.
 *     ```
       define( 'FORCE_SSL_LOGIN', true );
       ```
   
 *  Thread Starter [edow](https://wordpress.org/support/users/edow/)
 * (@edow)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/is-it-safe-to-switch-to-https/#post-5173849)
 * Thank you for your reply. I changed the http URLs to https and I used your code
   for wp-config.php and everything is working already!
 *  [respectyoda](https://wordpress.org/support/users/respectyoda/)
 * (@respectyoda)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/is-it-safe-to-switch-to-https/#post-5173850)
 * That’s great!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Is it safe to switch to https?’ is closed to new replies.

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [respectyoda](https://wordpress.org/support/users/respectyoda/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/is-it-safe-to-switch-to-https/#post-5173850)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
