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

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -