title: Can't update siteurl and home for my Wordpress site
body: <p>I have recently enabled https on my blog. Now, I can't update its WordPress Address (URL) and Site Address (URL). I have tried all three options I found so far</p>
  <p>Option 1: Change from UI - I can't change from UI because that option is grayed out</p>
  <p>Option 2: Update functions.php - I have updated the functions.php and added the following at the end</p>
  <pre><code>update_option( 'siteurl', 'https://example.net' );
  update_option( 'home', 'https://example.net' );
  </code></pre>
  <p>Option 3: Updated the database tables directly</p>
  <pre><code>wp option update home 'https://example.net'
  wp option update siteurl 'https://example.net'
  </code></pre>
  <p>To confirm I did this</p>
  <pre><code>wp option list  --search=home
  wp option list --search=siteurl
  </code></pre>
  <p>And I get <a href="https://example.net" rel="nofollow noreferrer">https://example.net</a></p>
  <p>So even after trying all the three options when I go to my site settings I see <a href="http://example.net" rel="nofollow noreferrer">http://example.net</a> as WordPress Address (URL) and Site Address (URL)</p>