Make changing site urls in Settings -> General a "2 click" process

  1. esmi
    Forum Moderator

    One of the most common forum issues is "I accidentally changed my site urls and now I can't login". In many ways, changing the site urls through the UI is too easy and too many non-technical users end up in trouble.

    What about taking a leaf out of Firefox's book? Try to get into about:config and you get a warning that you have to click past. It should be possible to implement a similar popup if someone tries to change the site urls in Settings -> General. Given that genuine url changes are relatively rare, this would constitute a minor inconvenience to tech-types at worst but it could save a lot of panic and heartache elsewhere.

    Posted: 6 years ago #
  2. MarcusPope

    With my plugin


    you won't get locked out of the admin if you accidentally change the site url. Just navigate to the site via the ip address, and you can get back in without any problems.

    Getting the ip address of your website is as easy as searching "ip address of mysiteurl.com" in google. Then just navigate to

    and you can log back in to change the site url back to whatever it was. This wasn't the main intention of the plugin per se, but it is certainly a common use of the plugin for developers.

    Of course it requires you to enable the plugin before you lock yourself out. But I've added the feature to my todo list so in the future you'll probably find a plugin that does this and only this, perhaps along with other lock out recovery options too.

    -Marcus Pope

    Posted: 6 years ago #
  3. esmi
    Forum Moderator

    Nice plugin idea but, in this situation, it's rather like shutting the stable door after the horse has bolted.

    I must have handled a good 12 or more support posts today where people have been locked out because they messed with the urls without really knowing what they were doing. And that's just me on one day. Multiply it by 5 or 6 and perhaps you might begin to see the scale of the problem.

    Posted: 6 years ago #
  4. WP Voyager


    Wonderful idea, esmi! Would definitely be a good thing to see SOME kind of a warning for this issue, whatever form it takes.

    (Perhaps a html/javascript on page warning? A javascript pop-up confirmation prompt would be too easy to mindlessly click "OK" through.)

    I have never had the "mismatched site URL" problem myself, but I can DEFINITELY see the havoc it wreaks on the Support Forums.

    +1 for a fix! This should be "in core".

    Posted: 6 years ago #
  5. Simon East

    The fact that you even have to manually define a URL for WordPress is awful and should be ditched. It always makes moving between development, staging and production a PITA.

    But yes, +1 for some confirmation message when changing this option.

    Posted: 3 years ago #
  6. Ipstenu (Mika Epstein)


    By allowing you to manually define, it allow advanced users to do some pretty nifty things like map domains and have WP run out of other locations :)

    Posted: 3 years ago #

RSS feed for this topic


You must log in to post.

  • Rating

    22 Votes
  • Status

    This idea is under consideration