URL format differs across components #11398
Replies: 2 comments
-
This is complicated. I don't know why Google tooling complains about this, but we can't assume that |
Beta Was this translation helpful? Give feedback.
-
That's exactly the issue - Quarto actually sets trailing slash as canonical URLs ( SEO mentions these because my sitemap.xml says to go to 'https://maxostapenko.com/index.html', but on that page it sees the canonical tag which says 'https://maxostapenko.com/'. Expected behaviour: Quarto aligns its canonical URL path and link format in the rendered HTML and sitemap. P.S. |
Beta Was this translation helpful? Give feedback.
-
Bug description
By default Quarto website uses trailing slash format in URLs and links. But there are many other components that don't always follow this format, e.g.
It makes Google Search crawler remind me about this SEO issue every other week.
Steps to reproduce
and _quarto.yml:
quarto render
_site/blog/**.html
and_site/sitemap.xml
.Expected behavior
I would expect it to be possible to have unified URLs format experience throughout all the components: URLs, sitemap, and links in the documents, etc.
Those
index.html
need to be cleaned up.Actual behavior
In some components places on the website the URL format differs that bring in redirects and results in SEO issues:
With
page-navigation: true
theprev/next
links in the header use URLs with index.html format:sitemap.xml
also uses../index.html
format.Your environment
No response
Quarto check output
Beta Was this translation helpful? Give feedback.
All reactions