On Tuesday, January 5, 2016 at 12:21:58 AM UTC-8, Roger Oberholtzer wrote:
>
> I have a Trac instance that uses an SQLite database. All is working 
> fine. I may need to change the domain name of the site from 
> http://www.old.se/systems to http://www.new.se/systems. 'systems' is 
> the Trac instance, which will retain the same name. 
>
> I know that I will need to change these items in the trac.ini: 
>
> url = http://www.old.se 
> base_url = http://www.old.se/systems 
>
> Is there anything else I may need to change?
>

Possibly repository URLs:
http://trac.edgewall.org/wiki/TracRepositoryAdmin#Repositories
 

> I fear that users have been putting this name in Trac links instead of 
> wiki: and such. Is there a smart way to find and replace these? 
>

You can see how I made similar changes to the Edgewall and trac-hacks.org 
wikis here:
http://trac.edgewall.org/ticket/12240#comment:7
https://trac-hacks.org/ticket/11949#comment:6
https://trac-hacks.org/ticket/10193#comment:103

You can just strip off the base url and /path/to/resource will point to the 
a location relative to the base url.

If you need to update ticket comments and elsewhere, then you'll need to 
directly edit the database like Greg suggests.

- Ryan

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to