Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Second Textpattern installation in subfolder of domain
Say I have a Textpattern-driven website on domain.com.
I want a second, isolated Textpattern-driven site using its own separate database in domain.com/secondsite/.
Are there any conflicts or problems I should be aware of or can I just go ahead and put the second Textpattern installation in the /secondsite/ subfolder?
Cheers!
Simon
Offline
Re: Second Textpattern installation in subfolder of domain
I should think you’d need to modify the .htaccess in domain.com/ (I don’t know what changes are needed, sorry).
Gocom wrote:
I should think you won’t. Child .htaccess file lower in the system’s file tree should redefine conditions defined in the parent .htaccess, so it should load the correct index.php. Depends on the Apache setup tho. Note that with out clean url there will be no hickups nor conflicts (no htaccess conflicts nor possible file path conflicts).
Good to know! Sorry for bad info.
Last edited by jsoo (2009-06-20 15:13:05)
Code is topiary
Offline
Re: Second Textpattern installation in subfolder of domain
jsoo wrote:
I should think you’d need to modify the .htaccess in domain.com/ (I don’t know what changes are needed, sorry).
I should think you won’t. Child .htaccess file lower in the system’s file tree should redefine conditions defined in the parent .htaccess, so it should load the correct index.php. Depends on the Apache setup tho. Note that with out clean url there will be no hickups nor conflicts (no htaccess conflicts nor possible file path conflicts).
Offline
#4 2009-06-20 16:53:08
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Second Textpattern installation in subfolder of domain
Just don’t create a section in your root install with the same name as the subdirectory… :)
Offline
Re: Second Textpattern installation in subfolder of domain
Thank you for the replies. I’m thinking clean URLs will work, too, as long as Apache is set up properly and I follow Els’ tip.
Offline