Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: HTTPS Issue with WordPress

Discussion in 'Misc WordPress Requests' started by lp1dev, Oct 10, 2017.

  1. lp1dev


    Reply To: HTTPS Issue with WordPress, by lp1dev

    Hi kyjus25! Thanks, but unfortunately my website is not under www, but it IS under a subdomain (devversion.mydomain.com) . Since I’m not 100% percent sure what could be the source of the issue I’m going to explain a little bit more precisely what I did.

    I have a dev version of the WordPress, hosted on our company’s server, it is an Apache Server Running Plesk and it is inside a subdirectory (Similar to http://preview.mywebsite.com/websites/mywordpress), there is no HTTPS/SSL configuration on this wordpress instance.

    We have to migrate it to our client’s hosting, so I:

    – Made a sql dump of the mysql database
    – Updated the client’s database with the dump
    – Pushed the sources through ftp on our client’s domain, but under a subdomain (devversion.mydomain.com) to avoid breaking the production website,
    – Updated the home and siteurl variables inside the wp_options of the database with https://devversion.mydomain.com
    – Updated the wordpress’s wp-config.php to connect to the new database

    That’s when the issue occured, I then tried to add $_SERVER[‘HTTPS’]=’on’ and define(‘FORCE_SSL_ADMIN’, true) to my config.php file (among many other potential fixes I found online) but nothing worked so far.

    Is there something I might have missed? I set the debug to true but I don’t have more information.

    Reply To: HTTPS Issue with WordPress

Share This Page

Monarch Social Sharing Plugin