My post shows you how to access WordPress admin after changing the URL.
As a new blogger on WordPress, I made the mistake of changing my website’s URL in WordPress and saving it.
I couldn’t access my site. I found the solution to this problem.
Let us start.
Can’t Access WordPress Admin
Here Is What Happens When You Change Your Site’s URL
First, let’s look at how to create this problem.
Hover your mouse over Settings and select General.
Here is your website’s address.
Here is the front end of this website.
I changed the site’s URL.
Then Save Changes.
When you change your website’s URL, this happens.
Here is the front end of this website.
Let’s fix this problem.
Step One – Log In To The Hosting Cpanel
When you purchase a hosting package, you get a link to your website’s hosting Cpanel.
I received this email when I bought hosting from Hostgator.
Here is the login page for my website.
Here is the Cpanel dashboard.
Step Two – Go To Phpmyadmin
phpMyAdmin is your website’s database.
Your database is essential for your website. Making changes here could break your site.
I recommend backing up your website before editing the database.
Should you break your website, use the backup to restore it.
Step Three – Open The Database For Your Website
When you have more than one database. Find the database for the site that has the error.
Click on the plus icon next to the database name.
View the SiteURL and Home details.
Here is the database for my website.
Step Four – Edit The Database
Type the correct URL. I corrected this URL from newblogrone to newblogr.
Click Go to save your changes.
Complete the same steps for Home.
Siteurl and Home are updated.
Step Five – Refresh Your WordPress Admin Page And Website
Return to your WordPress admin page and refresh.
Here is my WordPress admin page.
I can log in and edit my website.
Here is the front end of the same website.
Frequently Asked Questions
What Happens If I Accidentally Change My WordPress URL?
If you accidentally change your WordPress URL, you may experience problems accessing your website and its content.
The WordPress URL is to identify and access your website, and changing it can cause the website to become inaccessible. In some cases, you may recover from this by restoring your WordPress URL to its original value.
However, if you can’t do this, you may need to restore your website from a backup.
It is essential to be careful when changing your WordPress URL and to make sure you have a backup of your website before making any changes.
Why Can’t I Get Into My WordPress Admin?
There are a few potential reasons you might not be able to access your WordPress admin area. Some possible causes are:
- Incorrect login credentials: If you can’t log in to your WordPress admin area, are you using the wrong username or password? Ensure you have the correct login information, and try resetting your password if necessary.
- Website downtime: If your website is down or experiencing technical issues, you may not be able to access the WordPress admin area. You will need to wait for the website to come back online before logging in.
- Plugin or theme conflicts: If you have recently installed a new plugin or theme, it may cause a problem with your WordPress admin area. You may need to deactivate the plugin or theme to access your admin.
- Browser or cache issues: Sometimes, browser or cache issues can prevent you from accessing your WordPress admin area. Try clearing your browser cache and cookies. Or use a different web browser to see if that helps.
Overall, there are several reasons you might not be able to access your WordPress admin.
If you can’t log in, try troubleshooting the issue by checking your login credentials, website downtime, and any plugin or theme conflicts.
How Do I Find My WordPress Admin Username And Password?
If you need to find your WordPress admin username and password, you can follow these steps:
- Check your WordPress configuration file: Your WordPress admin username and password are in your WordPress configuration file (wp-config.php). You can access this file using an FTP client or by accessing your website files through your web hosting control panel.
- Check your WordPress database: If you can’t find your WordPress admin username and password in the wp-config.php file, you can look for them in your WordPress database. Log in to your web hosting control panel and access your MySQL database.
- Reset your WordPress password: If you can’t find your WordPress admin username and password, you can reset your password using the “Lost your password?” link on the WordPress login page. This option allows you to create a new password and regain access to your WordPress admin area.
You can find your WordPress admin username and password by checking your WordPress configuration file and database. Or by resetting your password using the “Lost your password?” link on the login page.
You can update your site’s URL in the database. Be careful, don’t delete or make unnecessary edits to the database.
I recommend backing up your website before making any edits.
Find the database for your website and click wp_options. Confirm you opened the correct database.
Click Edit to update SiteURL and Home. Click Go to save your changes.
Alternatively, you can edit your site’s wp_config file. Check out my How to Recover Your WordPress Site After a URL Change article to learn more.
I hope you found my article informative. If you have any questions, please leave them in the comments. I check my account daily.
Leave a Reply