How do I change my WordPress URL URL without database?
Use the wp-config. php File to Update the Website URL
- Login to your cPanel account and open the file manager. I am sure; you find it familiar.
- Make sure you’re in the public_html directory by navigating to it from the left-hand sidebar of cPanel. Search for the wp-config.
- – Add two lines of code and save changes.
What to do when you change your WordPress site URL?
Fix #1: Changing the WordPress Site URL by Editing the wp-config.php file. This fix solves the problem by adding two lines of code to the WordPress configuration file ‘wp-onfig.php’. To do so you will need to have access to your WordPress hosting panel or FTP access in order to be able to edit your wp-config.php file.
What to do if you cant access your WordPress site?
Go ahead and try to access your WordPress site and log in to the WP Admin panel. Now I’ve covered the two easiest methods to manually change your WordPress site URL. They will help you regain access to your website and the WP Admin dashboard if you can’t access it after changing the WordPress site URL.
Why do I get error when I Change my WordPress admin page?
But the actual location of WordPress files is still in the old location, so when you try to visit WordPress admin URL you actually requesting a page that does not exist. To solve the “Can’t access WordPress after changing site URL” error you simply need to change the website URL and restore the old URL.
Why is my WordPress dashboard not working after I change the URL?
Here is the Fix If you’ve tried to edit your WordPress blog setting page under the ”General Setting”, and now you can’t access your WordPress admin after changing the URL, by adding, or deleting the www, then, this is a natural error, and we’ll solve it in one minute. But, why you get that error, and why you can’t login to the WordPress dashboard?