• Hello there,

    I run a website for one company and would like to run one part as a regular CMS (pages for products, services, etc.) and a few other parts as several blogs (one for press releases, one for blog posts, etc.).

    I installed WordPress in the root directory. When I went to add Multisite functionality, I got this message:

    Because your install is in a directory, the sites in your WordPress network must use sub-directories. Warning! The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.

    My site is in many languages, but the blogs are only in one language at this time. Currently, I have pages structured like this <http://www.domain.com/page&gt; for the default language and <http://www.domain.com/es/pagina&gt; for translated versions. In other words, I used subdirectories for the page translations.

    I also want to use one or two subdomains like <http://blog.domain.com&gt; and <http://pr.domain.com&gt; so that I can have those blog posts and press releases at <http://blog.domain.com/post-name&gt; and <http://pr.domain.com/press-release-title&gt;.

    If that is not possible, where would these blog posts reside? Would the “blog” subdirectory be ahead of the language subdirectory (blog/fi) or the other way around? My default language (en-US) currently has no subdirectory.

    Any advice?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter MarlyM

    (@marlym)

    To clarify: How do I get each site (my pages as one site, and each blog as another site) to have a subdomain rather than a subdirectory? I originally installed WP at the root, or as close as it’s possible for me to get to the root on this multi-user domain.

    My site is under construction: It’s not hosted at my domain because there is currently a version of the site live there. My sandbox / beta site is being hosted on a temp domain provided by my hosting provider: http://IP.add.ress/my-username/{my WP install is here, which is as close to the root as I can get to}

    Will it be possible for me to use Multisite while my website is still hosted on this temp domain? If not, will I be able to add it after I move my website to my domain?

    From what I understand, Multisite works best if it’s installed at the root of your shared hosting account, thus the primary domain. You can move your current site over to a temp domain within the account, then use the primary domain for your new Multisite. This is exactly what I did and it worked fine.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Warning! The main site in a sub-directory install will need to use a modified permalink structure, potentially breaking existing links.

    What that means is this: Assuming your permalinks are YYYY/postname… If you install Multisite in domain.com/wordpress/ all your URLs for that site will change from domain.com/wordpress/YYYY/postname to domain.com/wordpress/blog/YYYY/postname

    Does that make sense?

    Also I wouldn’t suggest building Multisite in anything but the same ‘setup’ as where it’s going to live. Since you want this:

    I also want to use one or two subdomains like <http://blog.domain.com&gt; and <http://pr.domain.com&gt; so that I can have those blog posts and press releases at <http://blog.domain.com/post-name&gt; and <http://pr.domain.com/press-release-title&gt;.

    I would build in domain.dev – I do this by building it all locally on my laptop, with a fake domain of ipstenu.loc, and then when it’s good, search/replace the fake domain with the real one, and copy SQL up nice and tight.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Multisite for one site and many blogs’ is closed to new replies.