Web Hosting
  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: How to change permalinks from http to https as well as WP address

Discussion in 'Misc WordPress Requests' started by Pioneer Web Design, Nov 9, 2017.

  1. Pioneer Web Design

    Guest

    Reply To: How to change permalinks from http to https as well as WP address, by Pioneer Web Design


    right now those two areas are grayed out

    Please review that this only happens when the wp-config.php file has been edited to force a change to the site and home URL’s. It will look like:


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


    or in functions.php of current theme, it will look like:


    update_option( 'siteurl', 'http://example.com' );
    update_option( 'home', 'http://example.com' );


    Remove those lines buit first use this method to updatedthe site and home URL’s:

    https://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database

    You then need to make sure to replace in the DB all instances of

    http://example.com

    with

    https://example.com

    I use this:

    https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    Please make sure to backup the site first and read carefully how to perform all the above!

    Reply To: How to change permalinks from http to https as well as WP address
     
    #1

Share This Page

Web Hosting