# I have successfully migrated my WordPress site, but nothing is displayed

**URL:** https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614
**Category:** Hosting Support
**Created:** [June 9, 2025, 9:44pm UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614 "2025-06-09T21:44:42Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Cleaner98](https://forum.infinityfree.com/letter_avatar/cleaner98/32/5_5575768a8748004e209b776fc1b2916d.png) [@Cleaner98](https://forum.infinityfree.com/u/Cleaner98)
#### Post date: [June 9, 2025, 9:44pm UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/1 "2025-06-09T21:44:42Z")

</div>

Hello. I have successfully activated InfinityFree’s free hosting and activated Let’s Encrypt certificates. The site I’m moving is built with WordPress, so I’ve followed all the steps correctly. I downloaded the files and the database correctly. I created a new database and assigned the correct credentials. Everything is fine, but so far the page keeps throwing me an HTTP ERROR 500. I have no idea where the error is, but I don’t know if the directory is correct. My domain is ahmp.org.pe, and I understand that I have to place all the files in the htdocs folder. Some tutorials tell me they should be in the public\_html folder, but I can’t find one, and it doesn’t seem like the correct path.

 ![Captura de pantalla 2025-06-09 153303](https://forum-cdn.infinityfree.net/original/3X/2/0/20eb30f7add8c954dffc2c770aca54768e023602.png)

---

<div class="post-metadata">

### Author: ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)
#### Post date: [June 9, 2025, 10:34pm UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/2 "2025-06-09T22:34:17Z")

</div>

> [@Http error 500](https://forum.infinityfree.com/t/http-error-500/49352):
>
> When trying to access your website, you may see a page which returns the status code “500”. In Google Chrome, you’ll see a page with the error code HTTP ERROR 500. There are typically two reasons which can cause this error: The PHP code has crashed. The .htaccess file contains invalid rules. Here are some things you can try to debug and fix this. Fixing crashing PHP code A HTTP ERROR 500 simply tells you that the PHP code has crashed, but gives no information as to why it has crashed. Gett…

---

<div class="post-metadata">

### Author: ![Cleaner98](https://forum.infinityfree.com/letter_avatar/cleaner98/32/5_5575768a8748004e209b776fc1b2916d.png) [@Cleaner98](https://forum.infinityfree.com/u/Cleaner98)
#### Post date: [June 10, 2025, 12:22am UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/3 "2025-06-10T00:22:20Z")

</div>

Hello. Now I can visualize the error and it shows me the following:

**Warning** : require\_once(/home/vol8\_8/infinityfree.com/if0\_39160854/ahmp.org.pe/htdocs/wp-settings.php): Failed to open stream: No such file or directory in **/home/vol8\_8/infinityfree.com/if0\_39160854/ahmp.org.pe/htdocs/wp-config.php** on line **96**

**Fatal error** : Uncaught Error: Failed opening required ‘/home/vol8\_8/infinityfree.com/if0\_39160854/ahmp.org.pe/htdocs/wp-settings.php’ (include\_path=‘.:/usr/share/pear/’) in /home/vol8\_8/infinityfree.com/if0\_39160854/ahmp.org.pe/htdocs/wp-config.php:96 Stack trace: #0 /home/vol8\_8/infinityfree.com/if0\_39160854/ahmp.org.pe/htdocs/wp-load.php(50): require\_once() #1 /home/vol8\_8/infinityfree.com/if0\_39160854/ahmp.org.pe/htdocs/wp-blog-header.php(13): require\_once(‘/home/vol8\_8/in…’) #2 /home/vol8\_8/infinityfree.com/if0\_39160854/ahmp.org.pe/htdocs/index.php(17): require(‘/home/vol8\_8/in…’) #3 {main} thrown in **/home/vol8\_8/infinityfree.com/if0\_39160854/ahmp.org.pe/htdocs/wp-config.php** on line **96**

---

<div class="post-metadata">

### Author: ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)
#### Post date: [June 10, 2025, 1:12am UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/4 "2025-06-10T01:12:20Z")

</div>

Apparently you didn’t

> [@Cleaner98](#):
>
> downloaded the files and the database correctly

because some files are missing.

You’ll want to fix the WordPress installation.

> [@How to fix a corrupted WordPress installation](https://forum.infinityfree.com/t/how-to-fix-a-corrupted-wordpress-installation/49359):
>
> WordPress frequently releases updates, which you can install through WordPress’ admin interface. Usually, this works without a hitch. But with some (big) upgrades, the upgrade fails half way and leaves you with a broken website. Fortunately, you can still fix your website without any data loss, and this article tells you how to do that. Download a fresh copy of WordPress First of all, you will need to download a fresh copy of WordPress. You can download this from the official WordPress website…

---

<div class="post-metadata">

### Author: ![Cleaner98](https://forum.infinityfree.com/letter_avatar/cleaner98/32/5_5575768a8748004e209b776fc1b2916d.png) [@Cleaner98](https://forum.infinityfree.com/u/Cleaner98)
#### Post date: [June 10, 2025, 1:45am UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/5 "2025-06-10T01:45:41Z")

</div>

Hi. So you’re seeing two errors? I’m worried about the first one because I’m sure I uploaded the database correctly, but just to be sure, I’ll delete it and upload it again.

---

<div class="post-metadata">

### Author: ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)
#### Post date: [June 10, 2025, 4:00am UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/6 "2025-06-10T04:00:52Z")

</div>

1. These two errors comes from the same place.
2. It’s a WordPress file being missing, not the database.

---

<div class="post-metadata">

### Author: ![Cleaner98](https://forum.infinityfree.com/letter_avatar/cleaner98/32/5_5575768a8748004e209b776fc1b2916d.png) [@Cleaner98](https://forum.infinityfree.com/u/Cleaner98)
#### Post date: [June 10, 2025, 12:35pm UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/7 "2025-06-10T12:35:58Z")

</div>

I understand your point, but in the tutorial you provided, by replacing all the files with the native WordPress file, wouldn’t that mean I’m back to a blank page? Because all the files that contain my old website would be replaced with a blank one. Also, the error I posted points to a problem that exists in only one file. Wouldn’t it be better to fix that line?

---

<div class="post-metadata">

### Author: ![Cleaner98](https://forum.infinityfree.com/letter_avatar/cleaner98/32/5_5575768a8748004e209b776fc1b2916d.png) [@Cleaner98](https://forum.infinityfree.com/u/Cleaner98)
#### Post date: [June 10, 2025, 1:07pm UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/8 "2025-06-10T13:07:26Z")

</div>

I just followed the guide in the link you provided (to rule out errors) and now I get the following error:

**Warning** : mysqli\_real\_connect(): (HY000/2002): No such file or directory in **/home/vol8\_8/infinityfree.com/if0\_39160854/ahmp.org.pe/htdocs/wp-includes/class-wpdb.php** on line **1988**

`No such file or directory`

---

<div class="post-metadata">

### Author: ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)
#### Post date: [June 10, 2025, 1:34pm UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/9 "2025-06-10T13:34:03Z")

</div>

> [@Cleaner98](#):
>
> **Warning** : mysqli\_real\_connect(): (HY000/2002): No such file or directory

This means you’re using `localhost` as the database hostname. The correct value should look like `sql ***.infinityfree.com`, where `*** ` are numbers. You can find the database hostname to use in the client area and control panel.

> [@Common MySQL Connection Errors](https://forum.infinityfree.com/t/common-mysql-connection-errors/49338):
>
> Many websites use MySQL databases to store information and settings. However, there are some reasons why the connection to the database may fail. This article describes some commonly seen error messages when connecting to a database, as well as some general tips to keep in mind when setting up a database connection. Common Error Messages Using MySQL is great, but the error message returned if there is an issue logging in to your database can be quite confusing. Here are some commonly seen error…

---

<div class="post-metadata">

### Author: ![Cleaner98](https://forum.infinityfree.com/letter_avatar/cleaner98/32/5_5575768a8748004e209b776fc1b2916d.png) [@Cleaner98](https://forum.infinityfree.com/u/Cleaner98)
#### Post date: [June 10, 2025, 2:43pm UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/10 "2025-06-10T14:43:10Z")

</div>

Thanks for the reply. I didn’t understand which line or file I should change in that case. I know what credentials I should enter, but I don’t know where to do them. The line mentioned in the error message is line 1988, where you can read:

mysqli\_real\_connect( $this-\>dbh, $host, $this-\>dbuser, $this-\>dbpassword, null, $port, $socket, $client\_flags );

---

<div class="post-metadata">

### Author: ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)
#### Post date: [June 10, 2025, 2:49pm UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/11 "2025-06-10T14:49:57Z")

</div>

Then you are looking at the totally wrong file.

You should be looking for `wp-config.php`, where it contains the actual values provided to that line.

> [@Cleaner98](#):
>
> by replacing all the files with the native WordPress file, wouldn’t that mean I’m back to a blank page?

No, because the majority of your website is not in the WordPress files themselves, it’s in the database.  
And for the rest of your website, which are mostly images, plugins, themes, etc, won’t be replaces, because a stock WordPress installation doesn’t have those. So there’s nothing to be replaced with.

---

<div class="post-metadata">

### Author: ![Cleaner98](https://forum.infinityfree.com/letter_avatar/cleaner98/32/5_5575768a8748004e209b776fc1b2916d.png) [@Cleaner98](https://forum.infinityfree.com/u/Cleaner98)
#### Post date: [June 10, 2025, 3:07pm UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/12 "2025-06-10T15:07:52Z")

</div>

From your message, I understand that the lines to be changed are those in the wp-config.php file. However, I’ve double-checked that the database credentials are correct. Is there another file with that name in another location?

 ![Screeshot](https://forum-cdn.infinityfree.net/original/3X/0/e/0e0ce3b4f1bb85e2f39bb70d74dfb10a8ca23c3e.png)

---

<div class="post-metadata">

### Author: ![Meishin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/meishin/32/59902_2.png) [@Meishin](https://forum.infinityfree.com/u/Meishin)
#### Post date: [June 10, 2025, 3:34pm UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/13 "2025-06-10T15:34:08Z")

</div>

Please read again

> [@Admin](#):
>
> This means you’re using `localhost` as the database hostname. The correct value should look like `sql ***.infinityfree.com`, where `*** ` are numbers.

We didn’t ask you to check the credentials.

You should be looking at the line that have `DB_HOST` in it. Not the lines you’ve shared.

---

<div class="post-metadata">

### Author: ![Cleaner98](https://forum.infinityfree.com/letter_avatar/cleaner98/32/5_5575768a8748004e209b776fc1b2916d.png) [@Cleaner98](https://forum.infinityfree.com/u/Cleaner98)
#### Post date: [June 10, 2025, 4:00pm UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/14 "2025-06-10T16:00:36Z")

</div>

Thank you for your reply. I’m confused right now. Could you tell me which file I should change? I understand more or less, but so far I can’t see where to make the changes since I don’t see any path.

---

<div class="post-metadata">

### Author: ![Cleaner98](https://forum.infinityfree.com/letter_avatar/cleaner98/32/5_5575768a8748004e209b776fc1b2916d.png) [@Cleaner98](https://forum.infinityfree.com/u/Cleaner98)
#### Post date: [June 10, 2025, 4:17pm UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/15 "2025-06-10T16:17:20Z")

</div>

Hello. I understand. Since I’m using a translator, the highlighted words in your message are disappearing. I’ve already changed the ‘localhost’ to the correct name. However, the problem now is the one I mentioned before. The link forced me to reinstall WordPress, and my website looks empty. You can check it at the link: ahmp.org.pe

---

<div class="post-metadata">

### Author: ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)
#### Post date: [June 10, 2025, 4:26pm UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/16 "2025-06-10T16:26:43Z")

</div>

I see this

 ![image](https://forum-cdn.infinityfree.net/original/3X/8/0/806b538913635c1cf31aacbeec2ff75d85d2f1f2.png)

Please use a different theme

---

<div class="post-metadata">

### Author: ![Cleaner98](https://forum.infinityfree.com/letter_avatar/cleaner98/32/5_5575768a8748004e209b776fc1b2916d.png) [@Cleaner98](https://forum.infinityfree.com/u/Cleaner98)
#### Post date: [June 10, 2025, 7:43pm UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/17 "2025-06-10T19:43:25Z")

</div>

Hello. Even though I use a different template, I’m seeing that posts, menus, and other content aren’t appearing.

---

<div class="post-metadata">

### Author: ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)
#### Post date: [June 11, 2025, 2:57am UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/18 "2025-06-11T02:57:28Z")

</div>

> [@Cleaner98](#):
>
> I’m seeing that posts, menus, and other content aren’t appearing.

Most likely you did not

> [@Cleaner98](#):
>
> followed all the steps correctly

---

<div class="post-metadata">

### Author: ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)
#### Post date: [June 11, 2025, 9:10am UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/19 "2025-06-11T09:10:56Z")

</div>

The theme you’re using doesn’t appear to support the latest PHP versions well. You can probably remove the deprecation warnings for now by disabling WP\_DEBUG mode. But you might run into more issues later with future PHP or WordPress upgrades unless the theme is updated. If the current theme is no longer being updated, please consider switching to something that is still being maintained.

> [@Cleaner98](#):
>
> Could you tell me which file I should change?

In general, avoid modifying WordPress core files. Anything that you’ll normally needs to change can be changed in the wp-config.php file.

> [@Cleaner98](#):
>
> The link forced me to reinstall WordPress, and my website looks empty.

> [@Cleaner98](#):
>
> I’m seeing that posts, menus, and other content aren’t appearing.

If WordPress cannot find the database you configured initially, it will show the installation wizard. **Do not go through the installation wizard unless you want a new website.** If you already have a database with content which you want to use, you should go back and check your settings.

The good news is that your website data is probably not gone, and can be recovered simply by using the right settings.

To help you effectively, can you please provide the following:

- The database settings in the wp-config.php file (everything from DB\_NAME until DB\_COLLATE). You should hide the password, but leave everything else visible.
- Also please show the `$table_prefix` setting in wp-config.php.
- A screenshot of the list of tables in phpMyAdmin of your database. Please share the _entire_ page. I will need to see the database name, table list, and the number of rows in the table.

---

<div class="post-metadata">

### Author: ![Cleaner98](https://forum.infinityfree.com/letter_avatar/cleaner98/32/5_5575768a8748004e209b776fc1b2916d.png) [@Cleaner98](https://forum.infinityfree.com/u/Cleaner98)
#### Post date: [June 12, 2025, 11:34pm UTC](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614/20 "2025-06-12T23:34:54Z")

</div>

![screenshot](https://forum-cdn.infinityfree.net/original/3X/9/e/9eddbdc16c83ff17e5a4926d447320ccce77ac2d.png)  
Let me tell you a few important points. I have three backups of the website (which was working correctly just two weeks ago). The first backup is the one I made myself, the second backup is packaged with the “All-in-One WP Migration and Backup” plugin (which can also be unzipped and uploaded via FTP), and the third backup is one I just requested from the hosting company where the website was located. Regarding the latter, I should explain that it weighs more than 2 GB since it contains all the files, including the CPanel and everything else we don’t need now. Well, I’ve re-uploaded my website to Infinityfree, but this time using the backup provided by my previous host, and the result is practically the same: the page appears with a generic template without any content (although this time it no longer throws the template error like the previous time), and when I go to ahmp.org.pe/wp-admin, the WordPress console appears without the themes I used, nor the pages or sections. I understand that my files are there, but for some reason they’re not showing up. Based on the database, it’s no more than 10 MB, and I find it odd that this is the reason the page isn’t loading with all its content. Please, I need all your help, as I’m worried I won’t be able to recover the page.

[Next page](https://forum.infinityfree.com/t/i-have-successfully-migrated-my-wordpress-site-but-nothing-is-displayed/111614.md?page=2)
