Opened 10 years ago

Closed 10 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 10 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 10 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 10 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 The owner will remain datenimperator.
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.