Sitemap plugin wrong URL when permalink is not default

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
mdnava
Regular
Posts: 57
Joined: Wed Dec 15, 2004 10:17 pm

Sitemap plugin wrong URL when permalink is not default

Post by mdnava »

Hello,

I just wanted to report on Sitemap plugin... When the tag URLs are included in the sitemap they are not valid if the plugin path has been changed on s9y's permalinks in the configuration.

i.e. /plugin/tag/Tagname is used on Sitemaps plugin even if the URL for plugins is changed to /plug/ or in our case /en/

In our case, Google sitemaps showed hundreds of errors related to this... Google is not happy with all of those 410 redirects we made if the URLs on sitemaps are the links we redirect from and not the real destinations.

In case of entries, sitemap plugin shows correct URLs even when permalinks are not default.

Have a nice day!

Mel
Melvin D. Nava
Venelogía
mdnava
Regular
Posts: 57
Joined: Wed Dec 15, 2004 10:17 pm

Post by mdnava »

Anyone interested just edit serendipity_event_google_sitemap.php and replace the one ocurrence of "plugin/tag/" for the implemented url.
Melvin D. Nava
Venelogía
Post Reply