WordPress.org

Forums

Multisite for one site and many blogs (4 posts)

  1. MarlyM
    Member
    Posted 1 year ago #

    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> for the default language and <http://www.domain.com/es/pagina> 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> and <http://pr.domain.com> so that I can have those blog posts and press releases at <http://blog.domain.com/post-name> and <http://pr.domain.com/press-release-title>.

    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?

  2. MarlyM
    Member
    Posted 1 year ago #

    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?

  3. JHouse
    Member
    Posted 1 year ago #

    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.

  4. 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> and <http://pr.domain.com> so that I can have those blog posts and press releases at <http://blog.domain.com/post-name> and <http://pr.domain.com/press-release-title>.

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.