I apologize for the title, but I can't really explain it . Here's what I am asking
Can I have seo specific urls in my sitemap.xml that will have canonical links to the actual urls.
E.g: Sitemap xml has a url of /foo/bar?seo=true
and the content has a canonical link to /foo/bar
The reason we are considering this option:
We have a javascript SPA, that needs to be pre-rendered for bots. In order to avoid the overhead of checking on every request, we thought we can use sitemap.xml to redirect bots to a specific seo url, which will go through a pre-redenderer (e.g: phantomjs) and return the actual content, which includes a canonical link to the actual url.