I recently had a customer who wanted to disable SharePoint’s native SEO capabilities (Search Engine Optimization) including:
- Sitemap generation
- Canonical url generation
- Metadata generation on pages
- Explicit titles generation
- Etc
The main reason was he had very specific needs and wanted to implement his own custom SEO features.
The thing is that feature is hidden and enabled by default for any publishing site.
The simplest way to disable it then is using powershell, here is the command in case anyone else needs it.
Disable-spfeature [Guid]“17415B1D-5339-42F9-A10B-3FEF756B84D1” –Url https://urldelasitecollection