Opened 11 years ago

Closed 8 years ago

#1544 closed defect (wontfix)

GoogleSitemapPlugin doesn't provide full URLs.

Reported by: darwinscusp@… Owned by: Martin Scharrer
Priority: normal Component: GoogleSitemapPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


This is probably a configuration problem on my part, but I can't seem to figure out the solution. All of my sitemap locations do not contain the base URL. Example is available at

Is this a config issue? I've specified "" as the base url in the admin page.



Attachments (0)

Change History (5)

comment:1 Changed 11 years ago by max@…

I have the same problem. Looking at your there's a base URL tho. What was your solution ?

comment:2 Changed 11 years ago by darwinscusp@…

I hacked the source to include the base url. I'd offer you a patch, but I just hard-coded it into "build/lib/sitemap/"

at line 27, I added the following:

if (elementname == 'loc'):

content = '' + content

It's not the proper way to do it, but I didn't write the plugin :)

comment:3 Changed 11 years ago by anonymous

This bug is due to the use of "base_url" as storage name, this is used by trac already and will be overwritten with the default value "" if not set in your enviremont.

comment:4 Changed 8 years ago by Martin Scharrer

Owner: changed from Christian Aust to Martin Scharrer
Status: newassigned

comment:5 Changed 8 years ago by Martin Scharrer

Resolution: wontfix
Status: assignedclosed

The version for Trac 0.10 is abandoned. Please use the new version for Trac 0.11.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Martin Scharrer.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.