Title: tried dabling in https
Last modified: October 8, 2019

---

# tried dabling in https

 *  [ajphoto](https://wordpress.org/support/users/ajphoto/)
 * (@ajphoto)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/tried-dabling-in-https/)
 * Hi guys, ok, I made a big boo boo cause I don’t fully understand what I am doing.
   Sorry.
 * I have a website that I tried to turn into HTTPS.
 * I have a cloudflare account, I added the domain, then I went to where I registered
   my domain name and there I changed the name servers to the name servers of cloudflare.
 * In WP I went to settings and General I believe and changed the HTTP URL to HTTPS
 * Then after saving all changes I realised it might not work because of the HTTPS
   redirect plugin of cloudflare was not installed.
 * Thats when trouble started.
 * I tried going to [http://www.realestatephotographerspain.com/wp-admin](http://www.realestatephotographerspain.com/wp-admin)
   then I am redirected to [https://www.realestatephotographerspain.com/wp-admin](https://www.realestatephotographerspain.com/wp-admin)
   and get Error 500
 * I also tried changing htaccess to force redirect back to HTTP but that did not
   work:
 * # Redirect HTTPS to HTTP
    RewriteCond %{HTTP:X-Forwarded-Proto} =https RewriteRule
   ^(.*)$ [http://%](http://%){HTTP_HOST}%{REQUEST_URI} [L,R=301]
 * Somebody suggested that the rights of the wp-admin folder were not correct. Checked
   them, they are 755.
 * Removed the htaccess changes now.
 * Tried disabling the plugins folder and the theme folder, did not give me access
   to wp-admin either.
 * I have changed the name servers back to the original ones (TSO name servers, 
   not cloudflare anymore) but it still redirects to HTTPS
 * Oh, and I also tried other browsers (Safari, Chrome, Firefox) tried private windows
   and flushed caches.
 * And for some strange reason when I try typing the HTTPS URL in chrome private
   window I am redirected to a totally different website (don’t know who they are):
   [https://www.dropbox.com/s/30b4txqugq3iemq/IMG_9910.MOV?dl=0](https://www.dropbox.com/s/30b4txqugq3iemq/IMG_9910.MOV?dl=0)
 * Is there possibly anybody that can help out? Any help is appreciated.
 * Thank you in advance
    -  This topic was modified 6 years, 7 months ago by [ajphoto](https://wordpress.org/support/users/ajphoto/).
    -  This topic was modified 6 years, 7 months ago by [ajphoto](https://wordpress.org/support/users/ajphoto/).
      Reason: added link to dropbox video
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftried-dabling-in-https%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [xdividr](https://wordpress.org/support/users/xdividr/)
 * (@xdividr)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/tried-dabling-in-https/#post-12010399)
 * Do you have FTP access? Try adding the following to `wp-config.php`
 *     ```
       define('WP_HOME','http://www.realestatephotographerspain.com');
       define('WP_SITEURL','http://www.realestatephotographerspain.com');
       ```
   
 *  Thread Starter [ajphoto](https://wordpress.org/support/users/ajphoto/)
 * (@ajphoto)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/tried-dabling-in-https/#post-12010403)
 * Tried that at some point in the process, but will give it a go in the state it
   is in now.
 * Done and I get redirected to HTTPS
    -  This reply was modified 6 years, 7 months ago by [ajphoto](https://wordpress.org/support/users/ajphoto/).
    -  This reply was modified 6 years, 7 months ago by [ajphoto](https://wordpress.org/support/users/ajphoto/).
 *  [HudsonValleyWebDesign](https://wordpress.org/support/users/jaycbrf/)
 * (@jaycbrf)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/tried-dabling-in-https/#post-12010414)
 * Did you actually install an SSL Certificate on your domain?
 *  Thread Starter [ajphoto](https://wordpress.org/support/users/ajphoto/)
 * (@ajphoto)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/tried-dabling-in-https/#post-12010416)
 * Hi [@jaycbrf](https://wordpress.org/support/users/jaycbrf/) No I did not install
   it
 *  [xdividr](https://wordpress.org/support/users/xdividr/)
 * (@xdividr)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/tried-dabling-in-https/#post-12010447)
 * In Cloudflare, you likely need to set your SSL settings to ‘Flexible’
 * [https://support.cloudflare.com/hc/en-us/articles/360024787372](https://support.cloudflare.com/hc/en-us/articles/360024787372)
 * [https://support.cloudflare.com/hc/en-us/articles/200170416#h_4e0d1a7c-eb71-4204-9e22-9d3ef9ef7fef](https://support.cloudflare.com/hc/en-us/articles/200170416#h_4e0d1a7c-eb71-4204-9e22-9d3ef9ef7fef)
    -  This reply was modified 6 years, 7 months ago by [xdividr](https://wordpress.org/support/users/xdividr/).
 *  Thread Starter [ajphoto](https://wordpress.org/support/users/ajphoto/)
 * (@ajphoto)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/tried-dabling-in-https/#post-12010450)
 * Hi [@xdividr](https://wordpress.org/support/users/xdividr/), even if the nameservers
   are NOT cloudflare at the moment?
 *  [xdividr](https://wordpress.org/support/users/xdividr/)
 * (@xdividr)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/tried-dabling-in-https/#post-12010470)
 * You need to set your nameservers to point to Cloudflare’s in order to use their
   SSL service.
 * It appears your nameservers are currently set to the following.
 *     ```
       ns1.tsohost.co.uk
       ns2.tsohost.co.uk
       ns3.tsohost.co.uk
       ```
   
 * [https://www.whatsmydns.net/#NS/realestatephotographerspain.com](https://www.whatsmydns.net/#NS/realestatephotographerspain.com)
 * If you don’t want to use Cloudflare, ask your host if they provide free secure
   certificates from Let’s Encrypt.
 *  Thread Starter [ajphoto](https://wordpress.org/support/users/ajphoto/)
 * (@ajphoto)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/tried-dabling-in-https/#post-12010474)
 * [@xdividr](https://wordpress.org/support/users/xdividr/) yes correct, I am trying
   to get it to work normal again without the HTTPS just to get things back to normal
   and working.
 * After that I thought I would start from scratch and try HTTPS again.
 * Now I am stuck somewhere in the middel
 *  Thread Starter [ajphoto](https://wordpress.org/support/users/ajphoto/)
 * (@ajphoto)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/tried-dabling-in-https/#post-12010566)
 * Ok I logged into cpanel and looked at WPUN_OPTIONS in the database. Where it 
   states siteurl the value is ‘[https://www.realestatephotographerspain.com&#8217](https://www.realestatephotographerspain.com&#8217);
 * Where it states HOME value is ‘[http://www.realestatephotographerspain.com&#8217](http://www.realestatephotographerspain.com&#8217);
 * Could I just change HTTPS to HTTP in the database or will that burn me?
 *  [xdividr](https://wordpress.org/support/users/xdividr/)
 * (@xdividr)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/tried-dabling-in-https/#post-12010600)
 * > Could I just change HTTPS to HTTP in the database or will that burn me?
 * If you don’t want to use HTTPS, changing `siteurl` and `home` from `https://`
   to `http://` in `wp_options` should work. Afterward, you may also want to do 
   a find and replace to make sure there are no other https:// URLs.
 * It’s recommended that you use HTTPS if you can. Again, it may be as simple as
   changing your Cloudflare SSL option to ‘Flexible’.
 *  Thread Starter [ajphoto](https://wordpress.org/support/users/ajphoto/)
 * (@ajphoto)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/tried-dabling-in-https/#post-12010603)
 * [@xdividr](https://wordpress.org/support/users/xdividr/) thanks. Yes managed 
   to get in now 🙂 thanks for all the help!!
 * Will change Name servers, install the cloudflare plugin, set SSL to flxible in
   cloudflare and then change website URL in settings-general to HTTPS
 *  Thread Starter [ajphoto](https://wordpress.org/support/users/ajphoto/)
 * (@ajphoto)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/tried-dabling-in-https/#post-12010615)
 * [@xdividr](https://wordpress.org/support/users/xdividr/) when you try and load
   [https://www.realestatephotographerspain.com](https://www.realestatephotographerspain.com)
 * Do you get redirected to [https://larconsultancy.com](https://larconsultancy.com)
 * Or is this something in my cache or some to do with propagation?
    -  This reply was modified 6 years, 7 months ago by [ajphoto](https://wordpress.org/support/users/ajphoto/).
 *  [xdividr](https://wordpress.org/support/users/xdividr/)
 * (@xdividr)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/tried-dabling-in-https/#post-12010686)
 * Ask your host.
 * One possibility. This can sometimes happen when multiple sites share the same
   server and there is no default site set in the server config.
 * [https://serverfault.com/a/717490](https://serverfault.com/a/717490)
    [https://stackoverflow.com/a/21316370](https://stackoverflow.com/a/21316370)
 *  [xdividr](https://wordpress.org/support/users/xdividr/)
 * (@xdividr)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/tried-dabling-in-https/#post-12021627)
 * Here’s a better answer for the above Nginx config, in case it helps someone.
 * [https://serverfault.com/a/846214](https://serverfault.com/a/846214)

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

The topic ‘tried dabling in https’ is closed to new replies.

## Tags

 * [error 500](https://wordpress.org/support/topic-tag/error-500/)
 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [wp-admin](https://wordpress.org/support/topic-tag/wp-admin/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 14 replies
 * 3 participants
 * Last reply from: [xdividr](https://wordpress.org/support/users/xdividr/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/tried-dabling-in-https/#post-12021627)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
