Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-08-21 09:32:48
- FireFusion
- Member

- Registered: 2005-05-10
- Posts: 698
Installing textpattern in a sub directory then moving it?
I’d like to install Textpattern on a site that is currently live and getting a lot of hits. Is it possible to install textpattern in a directory like “CMS”, do all the backend stuff of setting it up and then just move it to the site root?
Also a completely different question, the document “txplib_misc.php” contains the code to send email, I just want to confirm to my client that this can’t be used to send spam.
Thanks.
Offline
Re: Installing textpattern in a sub directory then moving it?
FireFusion wrote:
I’d like to install Textpattern on a site that is currently live and getting a lot of hits. Is it possible to install textpattern in a directory like “CMS”, do all the backend stuff of setting it up and then just move it to the site root?
It is possible. All you need to do is move it to the root when you finish, change the path in config.php and then change relevant paths in the Admin tab.
>Edit: Use relative urls for all your images etc in the css and templates
Last edited by colak (2006-08-21 13:47:07)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#3 2006-08-21 13:51:16
- FireFusion
- Member

- Registered: 2005-05-10
- Posts: 698
Re: Installing textpattern in a sub directory then moving it?
Thanks.
Offline
Re: Installing textpattern in a sub directory then moving it?
colak wrote:
It is possible. All you need to do is move it to the root when you finish, change the path in config.php and then change relevant paths in the Admin tab.
…
I recently did exactly what you’re going for on “radiofreemike.com“http://radiofreemike.com
and just want to warn, that there’s some precautions to take when doing this.
(I don’t know, if anyone ever took the time to list all these precautions before, but)
i noticed that:
- the use of site location dependent tags like
<code><txp:site_url /></code>
is absolutely recommended.
make sure you use this, especially for images. we had problems getting all the images up again, both in articles and navigation after we had moved to the top level of the domain, because we had missed using <code><txp:site_url /></code> aswell as <code><txp:image id=id /></code> correctly.
generally any internally referencing links should be set up like that, regardless of pointing to images, creation of header meta tags etc….otehrwise your site structure and internal links will be out of sync when moving it to thew top level.
good luck.
Last edited by jayrope (2006-08-21 14:24:31)
A hole turned upside down is a dome, when there’s also gravity.
Offline