• Long story short – I changed the following fields under https://www.mysite.com/wp-admin/options-general.php:

    “WordPress Address”
    “Site Address”

    …from http://www.mysite.com to https://www.mysite.com.

    After that, I started seeing “too many redirects” errors when visiting any page on my local WordPress installation. I couldn’t even access my admin to change it back, so I went into wp-config.php and temporarily added:

    define('WP_HOME','https://www.mysite.com');
    define('WP_SITEURL','https://www.mysite.com');

    That allows me back into my admin pages, but I can’t revert them to their original values because they’re disabled fields now (presumably because of that override in wp-config.php).

    How do I revert to those original settings?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Now you can do with making change in database. take bakup before doing anythings,

    to make https

    You can do this by adding the following code in your .htaccess file:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.yoursite.com/$1 [R,L]
    </IfModule>

    [Signature links removed by moderator per forum rules.]

    • This reply was modified 8 years, 2 months ago by James Huff.
    • This reply was modified 8 years, 2 months ago by James Huff.
    Thread Starter chimerical

    (@chimerical)

    What are the changes I’m making to my database? And where in my WordPress file structure do files relating to the database live?

    Wouldn’t making a rewrite change in my .htaccess file just prevent me from viewing my admin page again?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Unable to change “WordPress Address” and “Site Address” under Settings/General’ is closed to new replies.