vinothgkannan
Member
Posted 10 months ago #
Hi,
I am new to WordPress.
My wordpress installation on server is http://xxx.com/blogs
I added 2 more sites using multisite subfolders like
http://xxx.com/blogs/subsite1
http://xxx.com/blogs/subsite2
Is it possible to view the http://xxx.com/blogs/subsite1 through http://xxx.com/subsite1? Do I need to write some mod_rewrite rule on http://xxx.com/.htaccess?
Is anybody face the same problem before?
Guide me to access the subsite through main URL.
Thanks in Advance
Vinoth
You can't do it without some fancy apache trickery.
Best way is to have installed in xxx.com instead of xxx.com/blogs
Moving is a bit of a pain in the butt, but it CAN be done.
vinothgkannan
Member
Posted 10 months ago #
Hi Ipstenu,
Thanks for your reply.
I can't move the xxx.com/blogs to xxx.com, because I already have a main website in smarty framework on xxx.com.
Please suggest me to do some apache tricks
Look up "apache redirect folder" (NOT the .htaccess one).
vinothgkannan
Member
Posted 10 months ago #
You mean the MOD Rewrite conditions?
vinothgkannan
Member
Posted 10 months ago #
Can you provide me the sample code or reference links or any other suggestions
I don't have any at my fingertips and (if you can't tell) I think it's a kinda bad idea. I'd be way more inclined to name my folder something kicky like...
domain.com/in/ so all my subsites are domain.com/in/london and so on ;)
McPace
Member
Posted 10 months ago #
I have a similar problem, I have my MU install at root with blog 1 having a page named x.com/events, I want to create blog 2 that lives at /events. So any post on blog 2 lives at x.com/events/slug, but if you visit x.com/events you get the page from blog 1.
I tested by creating a new blog and it defaults to showing blog 2 at /events instead of the page on blog 1. Is there anyway to get wordpress to show the page from blog 1 when hitting /events?
McPace - totally separate problem.
You can't have a page AND a blog with the same name. Rename one.