I have a site using Wordpress and a custom built theme and have migrated the site and database to my Hostgator server. I've also changed the site option and home url ( http://cebuproperties.jeffreyteruel.com ), but when I get to the homepage I get an Warning and Fatal Error. However, if I go to another page, say http://cebuproperties.jeffreyteruel.com/updates with all the links and page working properly. It's just my homepage which is the problem. How could I fix this?
The file wp-includes/random_compat/random.php
may be missing on the new server. This sort of thing can be caused by upgrade or server migration. One fix is to replace all the core WordPress files with a fresh install.
wp-content
. It contains all the files for your theme and plugin so you don't want to delete it. wp-content
. wp-config.php
with your database credentials (look in your current wp-config.php
file).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.