Answer the question
In order to leave comments, you need to log in
Slash in the canonical, but no slash in the sitemap — ok?
In the canonicals, all urls come with a slash at the end of http://example.com/
http://example.com/hello/
A in the sitemap without. http://example.com
http://example.com/hello
As I understand it, with a slash it is more correct, at least no matter who I look at, everyone has a slash. What if there is such a discrepancy? Rewrite sitemap?
Answer the question
In order to leave comments, you need to log in
I understand with a slash it's more correct,why would?
http://example.com/movies/
- this is a section (directory), more correctly with a slash, but nothing will explode without it (if the server is configured accordingly) http://example.com/robots.txt/
- it will be 404, because this is a file. Rewrite and check redirects from pages without a slash to pages with a slash, because 404s can come out.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question