0

I am running two different version of my application. One for mobile devices and the other for desktop computers. SEO is a very important topic for us, as we are an online shop that needs to be found in the web.

When entering www.test.com on a small screen device, the user gets redirected to www.m.test.com. The other way around works the same. The application is built with NextJS, if that matters.

Do I need to add for both versions a sitemap.xml and robots.txt? How do I work with canonical tags?

1
  • XML sitemaps have almost nothing to do with SEO. They can get Googlebot to crawl your site, but they don't get more pages indexed, nor do they help rankings. See The Sitemap Paradox – Stephen Ostermiller Mar 5 at 11:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.