javascript - Google spider gives 404 error on Angular links: how to fix it? -
i use custom angular tags [{ }] avoid conflicts twig.
in first version of website used:
<a href="[{ article.slug | url }]">article</a>
of course, found many 404 google spider errors. changed in:
<a href="#" ng-href="[{ article.slug | url }]">article</a>
but surprisingly again 404 error on: http://www.myangularwebsite.com/[%7b%article.slug%20%7c%20url%20%7d]
how possible? why spider reading ng-href tag? how prevent error?
Comments
Post a Comment