So long story short, I got my.com domain and added it to my existing account. I shouldn’t have done this, but I deleted the.rf.gd account I was already using for my WordPress. I went to Softaculus and changed the website URL to.com, hoping it would work. This made it worse, and now I cannot access my existing website. All I want is for the old website to be back. I can still see the plugins and themes there, but the website is not. I want to change to .com later, but for now, I just want my old website back.
This was because after you performed deletion of a subdomain, then added it back, the document root would change.
In your case I assume that the old /htdocs folder contains your old files, while the domain quartztag.rf.gd is actually pointing to /quartztag.rf.gd/htdocs.
Please follow this guide to move your site:
Since WordPress handles your site a bit different than other cms, you cannot just park a domain to an existing subdomain and change your site url.
You have to add your domain as a regular domain, follow the guide I gave you above, then tweak your database so the site will point to the new domain.
Thank you so much. But I had another question, in the link you sent, they said to delete the htdocs and put in the new domain? so do I put in the new .com domain? is that it? or do i just delete the htdocs? I dont understand sorry.
You have to delete the new htdocs folder (so it’s like /quartztag.rf.gd/htdocs or example.com/htdocs.). In this way you’ll be able to cut and move the old htdocs folder, which is much faster and reliable than copy and paste.
Make sure to always check if there was any useful data inside the folder you wanted to delete.
so I delete the htdocs file from my .rf.gd domain and paste it into .com . So this will change all my original website files to .com domain and get my website back? the thing is htdocs folder is there in both the domains.
I don’t actually know what do you mean by “delete and paste”.
One thing is certain that you’re gonna delete the htdocs folder in your .com domain. Then you move the one htdocs folder which contains your website.
Since you use WordPress, there’s an extra step to do: you should either try:
Ask softaculous to scan the installation and then update the site url.
Login to phpMyAdmin and tweak the wpxx_options table. From there please change the data of something like site_url and home_url to your new .com domain.
This means the DB is still there and you can recover some data. You may open the DB to check if there is anything in it.
Before you start please export the DB — inside the phpMyAdmin toolbar you should see something like this, then you can export the entire DB to your computer. Also remember what is the DB name.
Then reinstall WordPress at your .com domain.
After the installation was complete, you’ll have to update your wp-config.php inside your .com htdocs folder.
Change only these lines:
// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'The DB name' );
/** Database username */
define( 'DB_USER', 'Your hosting account username' );
/** Database password */
define( 'DB_PASSWORD', 'Your hosting account password' );
/** Database hostname */
define( 'DB_HOST', 'Your DB server' );
All of these data should be avaliable inside the client area. Please try the above steps and tell me if something went wrong.
Okay thank you. some questions
-Do I just click on the export button above?
-The DB name is above right? next to the server
-Now Do I delete the .rf.gd domain and then delete the installation of the wordpress?