Z
Z
zooks2014-10-09 09:49:49
Google
zooks, 2014-10-09 09:49:49

Why is the base tag ignored when crawled by Googlebot?

Hello.
I found a significant increase in 404 errors in Google Webmasters.
After studying the problem, it turned out that for some reason it began to ignore the base tag :

<base href="http://example.com/" />

<a href="folder1/folder2/page">Link</a>

Instead of prepending the URL from the tag, it tries to access both relative paths, i.e.
The URL of the current page + the path of the link.
http://example.com/folder1/folder1/folder2/page
instead
http://example.com/folder1/folder2/page
In the browser, of course, everything works fine.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shamanov, 2014-10-09
@zooks

It is possible that the matter is in .htaccess RewriteMod

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question