Viewing 7 replies - 1 through 7 (of 7 total)
  • I know nothing about tweaking WordPress for SSL, but here is some code that can change whatever you might currently have in the boxes at Settings > General:

    /*-either-*/
    /** @ near top of wp-config.php /*toggle on/off*
    define('WP_HOME','http://domain.com');
    define('WP_SITEURL','http://domain.com');
    /*-or-*/
    /** @ near top of wp-config.php /*toggle on/off*
    define('WP_HOME','http://www.domain.com');
    define('WP_SITEURL','http://www.domain.com');
    /*-end-*/

    Select and edit one pair of lines or the other, then temporarily place a slash after /*toggle on/off* just above them to un-comment them.

    Thread Starter bicepjai

    (@bicepjai)

    when i open
    http://www.jayaramprabhudurairaj.com/wp-login.php
    it takes me to
    https://www.jayaramprabhudurairaj.com/404.html

    on what page would i use your lines as shown below ?

    define('WP_HOME','http://jayaramprabhudurairaj.com');
    define('WP_SITEURL','http://jayaramprabhudurairaj.com');

    That guide is incomplete if your hosting setup isn’t correct, the first step after installing the SSL certificate is to see if you can access your website using https://.

    1. Clear your cookies.

    2. Go into your web host’s control panel and open phpMyAdmin.

    3. Open the database for your affected WordPress website.

    4. Run the following query changing YOURWEBSITE for your website’s domain:
    UPDATE wp_options SET option_value = 'http://YOURWEBSITE' WHERE option_name IN ('siteurl', 'home');

    on what page would i use your lines as shown below ?

    define('WP_HOME','http://jayaramprabhudurairaj.com');
    define('WP_SITEURL','http://jayaramprabhudurairaj.com');

    /** @ near top of wp-config.php

    The SQL ItalyExpat has posted is essentially the same via cPanel > phpMyAdmin, but I think you have also changed ‘WP_SITEURL’.

    Thread Starter bicepjai

    (@bicepjai)

    I am hosting this from host gator, where/what/how to edit wp-login.php file and how to open the settings page ?

    i would really appreciate if someone could help me with the steps, i
    dont even know where to start.

    Hi,

    Start from scratch and refer following guide to install SSL certificate:

    http://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-wordpress/

    Thanks,

    Thread Starter bicepjai

    (@bicepjai)

    Thanks ItalyExpat, i would have never figured that out 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to make WordPress HTTPS’ is closed to new replies.