How To Undo URL Change On WordPress Setting Page

Recently by mistake, i have changed my blog URL ( My Homepage Link) in the setting page of WordPress. And as obviously (Changed the Blog address ) i was unable to login/access homepage as well as the posts on the Blog. So, how can i undo the changes I’ve made in the setting page.  If you’re stuck in this type of issue, then this information is specially for you 😉


How To Undo URL Change On WordPress Setting Page?

Step 1: You’ve to access your wp-config.php file to undo the URL change and to do the same login to your Cpanel if you’ve or either if you have your blog ftp credentials then login with them to any ftp client like Filezilla. (Download link).

Step 2: Head to wp-config.php file and add these two lines in your wp-config.php file replace xyz.com with your domain name.


Step 3: Save the changes and bingo, you’re Done 🙂

Check your blog URL by accessing setting>General page. Make sure your blog preferred domain name is entered there. After checking your Blog URL you can remove the lines you’ve added to your wp-config.php file.

If you find this quick guide helpful, share it with your friends. And don’t forget to stay subscribed to us via newsletter to get our latest updates directly in your mail inbox.

Img. Source: The design tabloid

How To Undo URL Change On WordPress Setting Page
Enjoyed the read? Rate it 🙂
Join Our Newsletter
Join Over 9827 visitors who are receiving our newsletter for all Tech Updates, How-to Guides, Blogging Tips, Coupons, Social Media Marketing & more.
We hate spam. Your email address will not be sold or shared with anyone else.

Published by

Govind Choudhary

Founder of IndianGeeks Network. LatestOnNet.com is a part of IGN. I'm a Tech Blogger, Striving Entrepreneur, Auto Freak, Startup Addict and a Proud Indian.

Leave a Reply

Your email address will not be published. Required fields are marked *

CommentLuv badge