Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

The domain normally goes to the web root. Processwire resides in a folder /pw/ in the root and I redirect via "RewriteRule ^(/)?$ /pw [R=302]". 

Posted

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.

Posted

I think this option is optional. So you can just leave it empty and everything will work automatically. (Even if not recommended)

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
  • Recently Browsing   0 members

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