Pascal Posted May 13, 2015 Posted May 13, 2015 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.
LostKobrakai Posted May 13, 2015 Posted May 13, 2015 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.
Pascal Posted May 13, 2015 Author Posted May 13, 2015 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]".
LostKobrakai Posted May 13, 2015 Posted May 13, 2015 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.
bernhard Posted May 14, 2015 Posted May 14, 2015 maybe you could try paintings.mydomain.com => site-paintings if that's convenient
Nico Knoll Posted May 17, 2015 Posted May 17, 2015 I think this option is optional. So you can just leave it empty and everything will work automatically. (Even if not recommended)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now