Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter antmayfield

    (@antmayfield)

    Lol thank you!
    I will now read and educate myself

    sure, basically you set the url back to original. If you can’t get into your general settings to do it, you do it in the database.

    Once you have it back to original, you follow the proper instructions. Everything is linked in that article.

    The link isn’t working for me…it keeps timing out?? I am in the same position…lol

    Ok so I got your link to work (chrome has issues today..)

    Which file must I edit to redirect it back to my original URL so I can log-in?

    Thanks!

    Thanks esmi, I found it but didn’t read all the way down.

    Sorry for the confusion!

    One of our sites was down after I by mistake changed the General settings/Site URL. (to site.com/en – to show the English version of the site – I’m using a translation plugin to make the site two-lingual)
    The site still worked halfway (some plugin-dependent things didn’t show) but it was impossible to log in.
    I tried the second trick in Esmi’s link (above) but no luck.
    The problem was that I have all the WP files in a /wp sub-directory.
    Now, the solution was to add these lines to the theme’s functions.php file – the wp. in the first line did the trick:

    update_option('siteurl','https://wp.mysite.com');
    update_option('home','https://www.mysite.com');

    Hope this can help someone on…

    Alwyn Botha

    (@123milliseconds)

    Please mark thread as resolved so that

    – others with similar problem can see it as resolved and will read this thread for help if they have similar problem

    – people providing help see it as resolved and will not waste time reading this post.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Easy Fix – Changed My Website URL’ is closed to new replies.