How to make mediawiki sitemap URLs match the canonical URLs?

Viewed 23

From my homepage, links look like "/index.php?title=My_Page_Name". I turned on $wgEnableCanonicalServerLink, so my pages contain canonical meta data, and the URL is the same. So far so good!

Unfortunately, generateSitemap.php is making entries that look like "/index.php/My_Page_Name", i.e. without the "title=".

Google's indexing is mad about this discrepancy. What's the magic incantation to make them all contain "title="?

0 Answers
Related