How To Undo URL Change On WordPress Setting Page

wordpress-tips-latestonnet.com

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 😉

quick-tips-for-blogging

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.

define('WP_HOME','http://xyz.com');
define('WP_SITEURL','http://xyz.com');

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
5 (100%) 1 vote
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.

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.

Be first to comment

CommentLuv badge