• Resolved soeezauto

    (@soeezauto)


    I have set up this integration and everything seemed to work fine until I started getting 404 errors at Google Webmaster.

    The ‘real’ blog pages work fine and gives no errors.

    As advised here in support I placed the following code on top of all my ‘regular’ web site pages to get blog content:

    define('WP_USE_THEMES', false);
    require('./wp/wp-blog-header.php');

    Also I get no errors on my homepage, with exactly the same code.

    One instance of a page with error ( there are other more SEO friendly, but I am deactivating WP on those pages to minimize problems with Google)

    segments

    and the error:

    aw-snap/segments

    This is the homepage of the website ( not the blog ), that works fine, no errors:

    soeezauto.ma

    And the blog page, which as said works fine with no errors.

    soeez-blog

    Any idea on why that could happen?

Viewing 1 replies (of 1 total)
  • Thread Starter soeezauto

    (@soeezauto)

    Well, I see that everybody is rushing to be the first to post a solution to this issue to the point of blocking the whole WP support.

    So, to avoid further havoc I did find the solution myself.

    This link has a basic set up that a adapted to my situation as below:

    define('WP_USE_THEMES', false);
       require_once("wp/wp-config.php");
        $wp->init(); $wp->parse_request();
        $wp->register_globals();
Viewing 1 replies (of 1 total)
  • The topic ‘WP integration pages show fine but give 404 error’ is closed to new replies.