404 Error on Results Page

Home Page Forums WP Google Search 404 Error on Results Page

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  WebshopLogic 6 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)

  • Author

    Posts

  • #10078


    jtaylor

    Participant

    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 exist

    #10118


    WebshopLogic

    Keymaster

    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.

    #10119


    WebshopLogic

    Keymaster

    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.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Social media & sharing icons powered by UltimatelySocial