Trouble Moving Live WordPress Site to New cPanel Account:Display Issue
I created a new cPanel account with a different IP address within WHM to move my live WordPress website to my own environment. I've adjusted all the files and database connections according to the directives, but my WordPress site and the website itself are not opening. I even installed a fresh WordPress in the created cPanel, but still couldn't access my site or WordPress account. Could it be an issue with index.html display? What can I do? Is there anyone knowledgeable about this issue?"
-
Hey there! This doesn't seem like it would be related to cPanel, as WordPress sites aren't designed to be moved like this. The URL is stored in the database in several places, and that would need to be manually updated.
I'd review this to see if this gets you pointed in the right direction:
https://developer.wordpress.org/advanced-administration/upgrade/migrating/
0 -
Also, Top Indicators
- website.com is giving not reachable error and website not opening even with clean cpanel account and simple index.html.
- I own the WHM and have root access.
- DNS server is in different server, propagation successful.
- website.com:2083 is working and able to login cpanel.
- There is firewall devices behind the WHM server, IPs I am using have any-any rule.
- WHM server IP and cpanel IP I am using is different but firewall rules are same.
- There is no error log in apache server which is running fine.
- Tons of internet search have been done and tried too many things but still no result.0 -
Thank you for your respond, i will check it again but wordpress files look correct. The issue caused by something different, i guess.. cPRex
0 -
Wordpress installations as default do not care about what IP it is getting served from an domainname change can how-ever cause issues if you do not edit the database tables and setup the following in addition in wp-config.php
define( 'WP_HOME', 'https://example.com' );
define( 'WP_SITEURL', 'https://example.com' );I would clean-up and disable any cache before moving the site as that causes most issues as far as we experience with site migrations. In addition browser cache is another culprit causing login failures as the login cookie is no longer valid but still getting stored in the browser throwing the thing in a loop. Guest mode in the browser solves that most times after which you simply log out all sessions and retry in your primary browser profile or simply clean cache in your primary browser.
In addition check your public_html .htaccess file for any kind of modification that might result in a wrong redirect or a conflict.
Did you do a manual migration? If so my recommendation is using a plugin like duplicator that basically handles all necessary replacements of URL by a simple php script. The free version is good enough for most people.For comparisons we run and maintain a couple hundred WordPress installations and allmost all of those have been deployed with the free version. The few we could not we use our plan B for which is All-in-One WP migration. And there are very rare exceptions with some stubborn external servers that are only ever done fully manually from our side. I think I have done Max four of those in the last eight years I work for in this particular company.
0
Please sign in to leave a comment.
Comments
4 comments