Topic on Project:Support desk

How to Exclude NoIndex Pages From Sitemap?

3
Goodman Andrew (talkcontribs)

How do I exclude noindex pages from site map in MW1.35 when running generatesitemap.php

The noindex tag is applied via $wgNamespaceRobotPolicies or $wgDefaultRobotPolicies

Ammarpad (talkcontribs)
Goodman Andrew (talkcontribs)

@Ammarpad: link not working: white screen. Please tell me what to do here.

I mean, could you tell me exactly what I need to do to skip noindex pages in sitemap generation, could you copy the solution and post here?

Reply to "How to Exclude NoIndex Pages From Sitemap?"