conan-io / web

Conan website, including home and ConanCenter
MIT License
10 stars 10 forks source link

Add `robots.txt` and `sitemap.xml` #130

Closed AbrilRBS closed 11 months ago

AbrilRBS commented 1 year ago

This PR aims to show how we could improve the discoverability of recipes in Conan Center by aiding in the crawling process of its contents. But we first need to understand what we are missing before going ahead with this PR, and get numbers on our current status to be able to measure the impact of these changes after we merge it. We also should check what options netx.js provides to improve the situation automatically. Are we not doing something we should?

Context

Even though next.js handles some of the SEO aspects by itself, and things like the server side rendering feature is great for it as explained in their docu, it does not automatically handle by itself the creation of either sitemap.xml nor robots.txt, files which can greatly help in ranking by grating search engines a full look into the site.

Issues

Future steps

Once this hits the live site, and as we currently lack Search Console access, we can submit the new sitemap.xml to Google even if we don't have readily available access to the Search Console property, but we would need help in asking Google to recrawl the site, as that's only possible from within Search Console, for which access to the property is currently ongoing

cc @memsharded

CLAassistant commented 11 months ago

CLA assistant check
All committers have signed the CLA.