Cannot login in to Wordpress to edit website

Asked by:
HubFans / n/a Points
Time:
2016-03-09 3:07 pm EST
Category:
General Information
Hits:
44
Hello,

I changed the domain of my website today to americancitizenspost.com. Now I'd like to delete everything I currently have on the website as I'd like to take the content of the website in a new direction. However when I try to login in to wordpress to edit the website it says the website is unavailable. Is there any easy way to fix this problem?

Thank you very much!

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

arnelc
Staff
16,161 Points
2016-03-09 3:39 pm EST
Hello,

Sorry for the problems with logging into your WordPress site. I took a close look at your site and found that your old database and file structures for your previous domain name (escapetogreatness.com) are all still in the public_html folder and set as the database for your site. So, in spite of the fact that you have changed the domain name, the underlying structure for your WordPress install is based on the previous domain.

I am not sure if you're trying to keep the content from the previous domain or not, but in order to do so, you will need to change the domain name used in the database by WordPress. You can do this by simply opening your WordPress database in phpMyadmin (from the cPanel), then going to the wp_options table and changing the domain name for both siteurl and home. You will also need to change the domain name everywhere in the database. I highly recommend this plugin called Better Search Replace. It allows you to search and replace the old domain for your WordPress updates. Our web designers use it, so I highly recommend it.

If you don't want to go through all of that, you can DELETE the WordPress files from your PUBLIC_HTML folder using the File Manager in cPanel. You can also use an FTP client for this purpose. You will also need to remove the database associated with your previous site - you delete databases in the MySQL tool in the cPanel.

Once you have deleted the old install, you can go to Softaculous and re-run your WordPress installation as necessary.

I hope this helps to answer your question, please let us know if you require any further assistance.

Regards,
Arnel C.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.