WP integration pages show fine but give 404 error
-
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)
and the error:
This is the homepage of the website ( not the blog ), that works fine, no errors:
And the blog page, which as said works fine with no errors.
Any idea on why that could happen?
- The topic ‘WP integration pages show fine but give 404 error’ is closed to new replies.