-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multisite note #91
Comments
That is incorrect. In this particular case WordPress is not being installed in the subdirectory. Only the files are. The installation is referenced to root in terms of the WP setup. The issue you have encountered is probably related to rewrite rules. |
@Qoto I wish I was wrong, that would make my life easier as I have several multisite installs. When I first encountered this issue I tested everything (including removing any custom rewrites, resetting and even completely disabling permalinks), asked on StackOverflow etc. It proved I'm right. Do you have a working setup? I would love to see it working. If I read the docs on Codex correct, the part "WordPress URL contains a path, not just a domain" means exactly what I'm refering to - the path to WordPress dir will be |
@ihorvorotnov yes, I have a working setup. example .htaccess:
I also run a nginx/hhvm multisite subdomain setup, and it works perfectly, which has the following set up:
passing php/hh to hhvm via fast-cgi:
Hope I'm not misreading your requirement |
Am I correct - while you have WordPress installed in p.s. I'm using Nginx/HHVM with PHP5-FPM fallback. |
Yes, exactly. This works with apache, apache and nginx as reverse proxy and nginx/HHVM setups. |
Sounds good. Will have a chance to set up a network this week and test it. Will let you know if I'll make it work (hope I do). Thanks for sharing this technique! Anyway, it's a cool trick, not a plain WP setup. It will not work out of the box. I suppose extending my note with your solution will be useful for future users. There's no other solution in Google's db and on SO. Do you agree? |
Agreed. |
Not an issue actually, just a note about Multisite + WordPress in own directory. I think it should be clearly stated in FAQ section of README. Knowing it before would save me some 2 hours :)
WordPress Multisite works well when WP is installed in it's own directory. However, there's one limitation. As stated on Codex:
You cannot choose Sub-domain Install (for a domain-based network) in the following cases:
So, in practice WP Skeleton (or any other way of using WP in it's own directory) is only compatible with a sub-directory setup of WP Multisite.
The text was updated successfully, but these errors were encountered: