Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-10-24 17:50:30

amordecosmos
Member
From: London (Hometown: Vancouver)
Registered: 2004-08-03
Posts: 72
Website

Multi-site

For the first time, I’d like to try using the multi-site ability of TXP.

But how can I install existing sites on a new multi-site installation? The instructions seem like it all needs to be a fresh install.

Offline

#2 2020-10-24 19:49:00

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,832
Website

Re: Multi-site

The instructions are indeed for a new setup, but there’s nothing to stop you:

  1. Setting up a central repository of Txp files in a /textpattern directory.
  2. Setting up MySQL database instances and importing the databases from your respective sites into them.
  3. Creating directories under the ‘/sites’ directory for each site and putting any relevant site-specific content in them.
  4. Running /setup for each domain and aborting after it’s done the symlink creation part.
  5. Log into each site to finish the setup/prefs adjustment.
  6. Profit.

Or something like that. Not tried it, haha. If you have a look at the Alternative multi-site scenarios in the multi-site guide it might give you some ideas on how you can use it for various setups.

Last edited by Bloke (2020-10-24 19:51:39)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB