• Yesterday, I had a perfectly running blog/website https://thecanadianentrepreneur.ca

    Then, I had my host (Hostpapa.ca) change my ‘primary domain’ to a different one, so that I could use their “website builder” for that domain. I can only use their website builder with my ‘primary domain,’ and since I was using WordPress for thecanadianentrepreneur.ca, I got them to change my primary.

    They made this change overnight. Today, when I tried to go to thecanadianentrepreneur.ca/wp-admin/ I got an error saying that there was “no such file or directory”

    I read on their support page (https://hostpapasupport.com/kb/how-to-change-your-hostpapa-primary-domain/) and it said that If your website uses a content management system (CMS) such as WordPress, Drupal, Joomla!, etc., your website may go offline when the primary domain is changed (step 2 above). To fix this, you must edit the domain name in the CMS database once the primary domain change has been completed.

    My domain name hadn’t changed, I still wanted thecanadianentrepreneur.ca to stay the same with the content that it had on WordPress. I went into softaculous to see what the domain name was, and then I kept getting an error about a database prefix.

    I “removed” thecanadianentrepreneur.ca from under the “current installations” under WordPress in softaculous, then reinstalled it, and now my website has reverted back to the default WordPress theme and all of my content is gone ??

    Is there any way to fix this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • I “removed” thecanadianentrepreneur.ca from under the “current installations” under WordPress in softaculous, then reinstalled it, and now my website has reverted back to the default WordPress theme and all of my content is gone ??

    So you basically uninstalled the WordPress and that probably deleted the database. I do not know why you did that but lets look at your options.

    – Contact your host and see if they have a database backup and file backup from last week or a time before you deleted the installation.
    – Do you have a backup of the database and files?

    If its NO to both of above, then all I can think of now is to use Google cache to recover the content that is cached – https://www.google.com/search?q=site:thecanadianentrepreneur.ca

    Good luck!

    Thread Starter meganleigh72

    (@meganleigh72)

    Thanks for your reply!

    Host papa does an automatic backup every night it appears. I could try to restore it to the backup from a couple nights ago, but I’m worried I’ll just mess things up even more.

    Also, when I go into PHPmyadmin, I can see all my content in there, my old posts and pages.. but I don’t know how to get all of that content back into WordPress.

    I tried exporting the database from PHPmyadmin to both an XML and a CSV file, and import them using various importer plug-ins such as WP All Import, but I don’t think I’m doing it right. When I upload the XML file with WP All Import, it imports 3,348 ‘columns,’ 487 ‘tables,’ 12 “pma_tables”…. and I only had 3 blog posts and 5 or 6 pages on my site in total.

    Oh that’s good news if you have the database in PHPmyadmin.

    Here is what you need to do.

    – Create a new user for the database with all permissions. Google up on how to do that if you are confused.
    – Open up wp-config.php in the root folder of your WP install using an FTP manager (eg Filezilla) and change DB_NAME to the name of your database (without the prefix WP_) and DB_USER to the username you created and DB_PASSWORD to the password you set for that user.

    This is assuming the WP install is on the same server as the database. And that the WP was the same version as before. If not there are plugins that let you install older versions of WP or just download and manually install an old version.

    That should do it.

    Hi meganleigh72, are you still experiencing an issue here? I work with HostPapa and I would be happy to help connect you with a dedicated technical support representative that can assist and/or advise you. If you have submitted a support ticket, can you kindly provide your ticket number?

    I had the same thing happen to me, but I did nothing. I’d tweaked the site one night & the next morning, EVERYTHING had changed–the menu, the header, the font, placement of items on the page, everything! How on earth did this happen?

    I keep a backup of the pages on my computer, but my client wants to know why this happened & if I restore it will it just flop back to this again?

    I’m using elucidate.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘All of my content is gone’ is closed to new replies.