Creating a Child Site of Existing c5 Site
Permalink
I have a complete c5 site running. Lots of pages and folders. I'm thinking about creating a 'subsite' in a physical directory under the existing c5 site.
Existing c5 site -> existingsite.com
New c5 site -> existingsite.com/multiple/folders/newsite
Has anyone tried this before? What are the benefits and drawbacks?
I've started with a 'microsite' that is part of the existing c5 installation, but am finding that it will get increasingly difficult to manage that content. I'd like to make this change now, before the content gets too large.
Existing c5 site -> existingsite.com
New c5 site -> existingsite.com/multiple/folders/newsite
Has anyone tried this before? What are the benefits and drawbacks?
I've started with a 'microsite' that is part of the existing c5 installation, but am finding that it will get increasingly difficult to manage that content. I'd like to make this change now, before the content gets too large.
None of the three scenarios fit what I was trying to accomplish.
What I ended up doing:
1. Create the necessary sub-directories leading up to where the new concrete installation would go. For instance, create this directory /new/sub/site if the new installation would go in the 'site' directory.
2. Added a few lines to the .htaccess file at the root level.
Where I found the cIDs of the original pages and used those.
3. Placed the installation files directly in the /new/sub/site directory and ran installation.
Now I have 2 concrete5 installations in the same domain directory structure:
http://www.existingsite.com/ <--- existing installation of c5
http://www.existingsite.com/new <--- page within existing installation
www.www.existingsite.com/new/sub... <--- page within existing installation
www.www.existingsite.com/new/sub/site... <--- the new c5 installation!
What I ended up doing:
1. Create the necessary sub-directories leading up to where the new concrete installation would go. For instance, create this directory /new/sub/site if the new installation would go in the 'site' directory.
2. Added a few lines to the .htaccess file at the root level.
RewriteRule ^(new)$ /index.php?cID=205 [L] RewriteRule ^(new/)$ /index.php?cID=205 [L] RewriteRule ^(new/site)$ index.php?cID=303 [L] RewriteRule ^(new/site/)$ index.php?cID=303 [L]
Where I found the cIDs of the original pages and used those.
3. Placed the installation files directly in the /new/sub/site directory and ran installation.
Now I have 2 concrete5 installations in the same domain directory structure:
http://www.existingsite.com/ <--- existing installation of c5
http://www.existingsite.com/new <--- page within existing installation
www.www.existingsite.com/new/sub... <--- page within existing installation
www.www.existingsite.com/new/sub/site... <--- the new c5 installation!
http://www.concrete5.org/documentation/how-tos/editors/running-many...
Hope that helps?