Closed GeorgeLoukovitis closed 1 week ago
This has been a recurring topic. Where do you find self-referencing hreflang being an anti-pattern? See https://github.com/facebook/docusaurus/issues/6011 for a previous discussion. If you want to provide information, backed by trustable sources, please reply in https://github.com/facebook/docusaurus/issues/6075 instead.
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
Self referencing hreflang tags are considered to be bad practice in SEO. The docusaurus docs state that:
But those tags do not get removed when the i18n configuration is deleted from the docusaurus config
Reproducible demo
No response
Steps to reproduce
Expected behavior
The hreflang tag should have been removed
Actual behavior
The hreflang tag has not been removed
Your environment
Self-service