Opened 8 years ago

Closed 7 years ago

#1009 closed defect (fixed)

Wrong URL in the sitemap when running trac on different port using tracd

Reported by: srinidhi@… Owned by: datenimperator
Priority: normal Component: GoogleSitemapPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


I run trac on a different port (4080) using tracd. When I use this plugin, the sitemap.xml contains the base URL without the port and Google gets a 404.

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by datenimperator

  • Status changed from new to assigned

Sure, didn't expect this. I'll investigate if it's possible to actually detect on which port the web server is running, otherwise I'll make it a configuration option.

comment:2 Changed 7 years ago by datenimperator

There's no way a plugin can reliably detect the outside URL of trac, so I'll make this a config option. Similar to #917

comment:3 Changed 7 years ago by datenimperator

  • Resolution set to fixed
  • Status changed from assigned to closed

Implemented a configurable option that will store the base url

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from datenimperator. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.