Jump to content

Topic on Manual talk:GenerateSitemap.php/Archive 2

"title=" missing in sitemap urls

1
76.102.130.155 (talkcontribs)

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


Unfortunately, generateSitemap.php is making <loc> entries that look like "/index.php/My_Page_Name", i.e. without the "title=". (Note that they do contain the scheme and domain, but this forum software thinks I'm link spamming, so they're not shown here)


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

Reply to ""title=" missing in sitemap urls"