Tagged: 404 Error
13/12/2019 at 21:28Participant
I recently migrated a small 2-page site to an internal server using the Duplicator plugin. Now I am having trouble getting the results page to show.
I am able to edit the page, but anytime it is viewed it returns 404 Not Found citing the url does not exist18/12/2019 at 20:26
To find out what is causing the problem, enable logging on your WordPress site.
The wp-config.php file should include the following lines just before the line “/ * That’s all, stop editing! Happy blogging. * /”:
define ('WP_DEBUG', true); // Enable Debug logging to the /wp-content/debug.log file define ('WP_DEBUG_LOG', true); / * That’s all, stop editing! Happy blogging. * /
After it, reproduce the 404 error and see the fatal errors on your wp-content/debug.log file.
After finding the cause of the problem, we can move on to the solution.18/12/2019 at 20:38
One more idea:
Please check that if there is a “Search Results” page in the Pages menu of your WP Admin area, the slug of this page must be “search_gcse”.
If it does not exist, deactivate and activate the WP Google Search plugin to create this page.
If it exists, you can try deleting the page and re-creating it by deactivating and activating the plugin.06/09/2020 at 18:11Participant
I have had the same issue, and noticed that the Search Page Target URL is showing: “/search_gcse_trashed/” and it would not change by deactivating and activating the plugin.
Any idea? How can I delete the page “/search_gcse_trashed/” and get the page “/search_gcse/ back”?</p>
<p>Thanks07/09/2020 at 19:51
You can restore the page from the trash.
Alternatively delete this permanently, then deactivate and activate the plugin.
You can delete the page this way:
https://easywpguide.com/wordpress-manual/adding-your-site-content/classic-editor/deleting-content/#:~:text=Deleting%20Content&text=To%20delete%20the%20Page%2FPost,a%20single%20Page%20or%20Post.08/09/2020 at 19:35Participant
It works. Thanks for your quick assistance.
- You must be logged in to reply to this topic.