Jump to content

Multi-site with multiple databases and redirect


Pascal
 Share

Recommended Posts

Hi all,

I try to create a new site on a server with an existing Processwire installation. I followed the steps, edited the index.config.php and created the new folder. However, I can't reach the new site via the url. My main domain redirects to mydomain.com/pw. May this be the problem? I attached screenshots of what I did so far. The installation in the temp folder succeeded. I'm grateful for any tips.

post-237-0-12594700-1431520150_thumb.png

post-237-0-30735800-1431520151_thumb.png

Link to comment
Share on other sites

You're right, the domains need to point to the place where processwire is installed, so I think it's because of the folder setup. To make this work we'd need to have a little more information about how your domains and folders are set up.

Link to comment
Share on other sites

Just had another look at it. This does only work with different domains, not with folders. ProcessWire does not check for folders here. But you could certainly just use an complete new installation in the subfolder.

Edit:

To make this clearer: ProcessWire does only compare the keys of the multisite array to the domainname.

http://mydomain.de/folder/

Only the bold part is compared.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...