Hi Team,
We migrated the site to a new server and tried to replace the New URL with the old URL. After entering the URL, searching is running, but it shows a failed instead of a row count.
Please refer to the attached screenshot and let us know as ASAP.
OnPoint Plugins
Hi Nitant,
It looks like your screenshot did not come through. Please post a link to it so we can take a look.
If the status is showing as failed, one of the things is happening:
Nitant Patel
Hi Team,
There is no error log in the log file. But the Ajax request is a 404 error which is sent from the Go Live plugin.
OnPoint Plugins
Hi Nitant,
I’ve tracked down the issue to something specific to your site or server which is redirecting the AJAX request to a 404 page if it takes longer than 30 seconds to complete.
When counting the URL within the
wp_posts
table, the process takes a long time to run because there are approximately 48k serialized URL within that table. When counting is successful, it takes roughly 29 seconds to complete but sometimes it takes more than 30 seconds which redirects.The best solution:
An alternative solution:
wp_posts
wp_postmeta
wp_links
Posts, Pages, Custom Post Types
I also wanted to mention that in the private information you have a trailing slash at the end of the Live URL but not the old URL. When running the plugin, be sure not to run with a trailing slash on one but not the other. Also, the update will more accurate if you omit the
https://
in both the old and new URL, more information here.Let me know if you have any questions.