Directory as Subdirectory Blog of a Subdirectory Site

Still in Newbie Stage and Learning Curve is Steep (for me anyway) - and there are hundreds of results when I search the forum, so please bare with me if repeating an already answered question...

I have multisite setup as subdirectory install using 'domain mapping' with custom domains feature supporting multiple domains

I would like to install 'wordpress-directory' plugin as 'new blogs' of the sites - I want to use a completely different theme than the http://www.site.com - and I want the directory to keep the http://www.site.com URL.

what visitors see
http://www.site.com/directory

what it really is
mainsite.com/site/siteblog

1) For starters, I can't find where/how to add a 'blog' to the sites. It is possible right? Please explain how/where.

2) Does it matter whether to activate 'directory' as network install or from each 'site'

please provide 'newbie' explanation

thanks

  • Timothy Bowers

    Hey tripvendor. Hope you are well. :slight_smile:

    what visitors see
    http://www.site.com/directory
    what it really is
    mainsite.com/site/siteblog
    1) For starters, I can't find where/how to add a 'blog' to the sites. It is possible right? Please explain how/where.

    I'm really sorry, but I'm not sure I fully understanding what you are asking here?

    Are we just talking about page slugs? Or something else?

    If you could please elaborate further to better help me understand what your wish to achieve. :slight_smile:

    2) Does it matter whether to activate 'directory' as network install or from each 'site'

    If you activate it sitewide then every blog will have it installed. Keep in mind that with this plugin you need to make changes to your theme or use the default plugin theme to take full advantage of its features.

    The newest beta version which should be final soon, changes how that works:

    https://premium.wpmudev.org/forums/topic/new-directory-plugin-version-20-beta

    Hope that helps.

    Take care.

  • tripvendor

    Hi --

    Can you create 'blogs' under the 'parked domain' URL's?
    (I think this is basic multisite functionality but for the life of me cannot find where how to do it)

    right now I have:
    http://www.mainsite.com
    http://www.subdirectorysite.com
    http://www.subdirectorysite2.com

    I want to be able to add a directory as a blog, under the sudirectorysite.com's

    http://www.subdirectorysite2.com/directory

    where the directory uses it's own theme independent of http://www.subdirectorysite2.com 's theme

    I have not problem editing the directory theme

  • tripvendor

    Well... it didn't take long... sorry for the long post, but its sort of complicated

    I think I need to edit .htaccess but have absolutely no clue what to put there

    to restate the goal:

    mainsite.com (multisite installation)
    domain1.com
    domain1.com/directory/

    all three separate 'blogs' allowing different themes & plugins. It is critical to have a subdirectory for SEO as I want them (domain1.com and domain1.com/directory) to be seen as same website.

    I guess that might be considered a network of networks...

    I'm not doing any membership or signup stuff - just trying to manage marketing websites from one installation. I have 11 domains including the mainsite.

    For this project I'm on a shared server with dedicated IP, I don't have access to DNS Zone, but the host is very responsive, the host edited the DNS Zone to add wildcard *.domain.com to point to the IP. (cPanel allows adding * subdomain pointing to root directory but not sure that is the same thing)

    Currently - WP Multisite is installed at root of mainsite.com, as a subdirectory installation.

    I'm not sure how of the step-by-step of setting up this network...

    The problem at hand:
    With "mult-domains" and "domain mapping" installed.
    From network admin it is a snap to add a domain, domain1.com (in multi-domains), and then go to network admin and add the 'directory' to domain1.com as a site: domain1.com/directory.

    It resolves without needing to edit domain mapping.

    however... I also want to have a 'site' domain1.com, and this is where my problems begin.

    when I create the 'site' domain1.com, domain1.com/directory no longer resolves - it turns into an error page on domain1.com, and I can't access the domain1.com/directory 'site' dashboard

    I tried to us Domain Mapping, to assign a custom domain for domain1.com/directory - but that results in too many redirects looping upon itself and fails

    so...

    how can I get these three sites?

    mainsite.com
    domain.com
    domain.com/directory/

    thanks

  • Timothy Bowers

    Hey again

    For this project I'm on a shared server with dedicated IP, I don't have access to DNS Zone, but the host is very responsive, the host edited the DNS Zone to add wildcard *.domain.com to point to the IP. (cPanel allows adding * subdomain pointing to root directory but not sure that is the same thing)
    Currently - WP Multisite is installed at root of mainsite.com, as a subdirectory installation.

    If you have it installed as a subdirectory, whats the need for wildcard domains?

    Lets just clear up a couple of things to save confusion:

    Multi Domains plugin:

    1 install
    - Network1.com <--- main site
    -- subsite1.Network1.com
    -- subsite2.Network1.com

    - Network2.com
    -- subsite3.Network2.com
    -- subsite4.Network2.com

    Thats a subdomain install making multiple networks with one WP install.

    Domain Mapping:

    - Network.com <-- Main site
    -- subsite1.Network.com
    -- subsite2.Network.com

    Could be mapped so they became:

    - Network.com <-- Main site
    -- subsite1.com
    -- subsite2.com

    Thats domain mapping on a sub domain install.

    A sub directory install looks like this:

    - Network.com <-- Main site
    -- Network.com/subsite1
    -- Network.com/subsite2

    And they to can be mapped.

    If you are running the directory plugin and wanted it on one domain, you can do that simple install it on that subsite and configure it accordingly. The plugin will create a slug for its use,

    Hope this helps clarify the purpose of the two plugins.

    Take care.

  • tripvendor

    I knew I was trying to do the wrong things, but instructions for what I'm trying to do I can't find.

    how can I get these three sites?
    mainsite.com
    domain.com
    domain.com/directory/

    as seen in the browser, it looks like Domain Mapping will only give me

    mainsite.com
    domain1.com
    mainsite.com/directory

    I guess what I want is
    network (mainsite.com)
    network-subsite1 (domain1.com)
    network-subsite1-subsite2 (domain1.com/directory)

    having subdirectories in lieu of subdomains is important for SEO

  • Timothy Bowers

    I guess what I want is
    network (mainsite.com)
    network-subsite1 (domain1.com)
    network-subsite1-subsite2 (domain1.com/directory)

    having subdirectories in lieu of subdomains is important for SEO

    So in essence you want two WP sub sites on one domain with the directory slug being a sub domain.

    Thats not possible. But through the use of CNAME you could have:

    network (mainsite.com)
    network-subsite1 (domain1.com)
    network-subsite2 (directory.domain1.com) <--- note the change directory.domain1.com

    That works for SEO also.

    Take care.

  • Timothy Bowers

    How does that work for SEO?
    isn't a subdomain considered a separate website?

    Depends on how you are defining SEO and improving chances of being seen:

    An old-ish article:

    http://www.mattcutts.com/blog/subdomains-and-subdirectories/

    Lots of content on his site to be reading through. :slight_smile:

    and if I go with
    network (mainsite.com)
    network-subsite1 (domain1.com)
    network-subsite2 (directory.domain1.com)
    do I need to reinstall as a subdomain installation instead of subdirectory?

    No because if you have sub directories like so:

    - Network.com <-- Main site
    -- Network.com/subsite1
    -- Network.com/subsite2

    All you are doing is mapping a domain and sub domain like so:

    - Network.com <-- Main site
    -- subdomain1.com
    -- subdomain-of.subdomain1.com

    But if you really want directory, then why not just keep it on one site?

    Thanks.

  • tripvendor

    What I would like and what I'm going to get is turning out to be different ...

    I am looking to manage 11 domains

    ideally, each of these domains is going to include the directory plugin...

    using a separate theme, and

    the directories will be a subdirectory of each domain so that all that content gets credited to the site

    now this whole debate and my approach might have become moot... to answer this post with some background info I found a blog post stating that starting last year Google is looking at subdomains as being part of the primary domain... how to control that... and optimize for SEO I'll need to research/ figure out.

    I guess we can call this resolved... but I'm sure I'll open another thread soon...

    Thanks....

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.