Replies: 1 comment
-
It was due to visiting the URL with www. It didn't seem like it was at first due to the fact that I am caching the results. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am adding all my URLs like this atm:
For some reason all of my URLs are set to
www
in prod environment. However, locally they are rendered without thewww
-prefix. I have set all my pages canonical URLs to omit thewww
so I need this gone from the sitemap aswell.I don't have
www
in my.env
in prod. It doesn't matter if I visit the sitemap usingwww
. Also, usingroute('home')
in prod returns the url withoutwww
.How can I remove the
www
in production?Beta Was this translation helpful? Give feedback.
All reactions