Opened 16 years ago

Closed 15 years ago

#1009 closed defect (fixed)

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

Reported by: srinidhi@… Owned by: Christian Aust
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 16 years ago by Christian Aust

Status: newassigned

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 15 years ago by Christian Aust

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 15 years ago by Christian Aust

Resolution: fixed
Status: assignedclosed

Implemented a configurable option that will store the base url

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Christian Aust.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.