Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


14208 posts

Uber Geek
+1 received by user: 2569

Trusted
Subscriber

Topic # 189524 3-Jan-2016 08:41
Send private message

I'm migrating all my blogs (four of them) into one folder on a VPS (AWS) using Nginx as the web server. Three of the blogs have wordpress run the entire domain, one has custom PHP application on the site root with Wordpress in the blog subdirectory.

WPMU (Wordpress Multisite) seems to only support putting the install onto the root of the domain. I'd prefer to keep it in the blog directory, where it is now. Does anyone have any clever ideas how to either get it into the blog subdirectory, or make it appear like it's in there? Something fancy with Nginx? Maybe put the blog into a subdomain and map it to a folder of the main domain? I don't want it to run on the subdomain as it has SEO implications.

I know I could run a standalone Wordpress install, that's my backup plan.




AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer


Filter this topic showing only the reply marked as answer Create new topic
1240 posts

Uber Geek
+1 received by user: 252

Subscriber

  Reply # 1477676 24-Jan-2016 09:40
Send private message

There are a lot of indicators that wordpress multi is more difficult to manage than multiple wordpress sites. I personally keep one wordpress install per site.

 

That would also solve your /blog issue.

 

Under linux.,...

 

Say my code folder looks like:

 

/-var/www/Site1

 

              |-Site2

 

              |-Site3

 

              |-Blog

 

and i want the blog under site1 as site1/blog

 

then

 

cd /var/www/Site1

 

ln -s /var/www/Blog

 

 

 

will make a link to the blog, under site1 which will be indistinguishable to

 

/-var/www/Site1/Blog

 

 

 

 

 

 





nunz



14208 posts

Uber Geek
+1 received by user: 2569

Trusted
Subscriber

  Reply # 1477678 24-Jan-2016 09:45
Send private message

I ended up deciding that what I wanted was impossible, so I did a single site install of Wordpress for that site. I have three other sites where Wordpress runs the whole domain, Wordpress Multisite runs all of those fine. Yes it's a bit more difficult to set up and manage, but it's fine. I'll be putting it all into production soon, if I have any trouble I'll switch back to single site.

 

One reason I did it is because it seems more efficient to have one install, especially using HHVM (PHP running in a JIT), so it can optimise Wordpress once rather than a bunch of times. Just saves a tiny bit of disk space I imagine. The main reason was ease of management - one install to maintain - well two now.

 

I'm just in the middle of moving my AWS sites to a US region from Sydney, as my key websites key customers are in the USA.





AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer


Filter this topic showing only the reply marked as answer Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.