smallcompany - 6:25 pm on Mar 13, 2012 (gmt 0)
I use PHP within HTML so I have this line in .htaccess:
AddType application/x-httpd-php .php .htm .html
For quite some time I've been seeing 404 errors in Google WMT that would come from existing pages being artificially put into existing folders they don't belong to.
For example, page1.html is in the root, and page2.html is in the /sub/ subfolder.
WMT reports back 404 for /sub/page1.html based on the link from /sub/page2.html/a-b-c where a-b-c is a string created form the title of the page.
So if the title of the page2 is "Page 2 Buy Now" the non-existing URL will be /sub/page2.html/Page-2-Buy-Now, and instead of returning 404 the site actually returns a page, but broken with no CSS and images applied.
If I comment out the line for PHP parsing, those non-existing pages return 404.
The only PHP within the code is one "include" for addthis.
Why would this happen?