WordPress.org

Ready to get started?Download WordPress

Forums

How to Create a Network of Blogs as Sub-Directories From My Main Domain (6 posts)

  1. jabs83
    Member
    Posted 2 years ago #

    Hello - I would like to create a multisite network that runs off of my main domain, which currently houses a static site(www.mysite.com). I would like the blogs in the multisite network to be accessed as sub-directories off of my main domain. For example I would like to have http://www.mysite.com/blog01, and http://www.mysite.com/blog02.

    Is this possible, and how would I go about creating a multisite utilizing this structure?

  2. Holan Petr
    Member
    Posted 2 years ago #

    To create a blog in http://www.mysite.com/blog01
    1) Create a subfolder named blog01 on your server (in the same folder where your current site's index file is).
    2) Copy WordPress installation files to that subfolder. Do all the usual steps (create database, set wp-config).
    3) When you have all these ready, go to your browser and type http://www.mysite.com/blog01 - you should be able to setup a new blog here
    4) Repeat with all blogs.
    Note: the subfolder name doesn't need to be the same as what people will eventually type in the browser to find the particular blog. You can set these in the General Settings in your WordPress admin interface - see WordPress Address (URL) and Site Address (URL) in https://codex.wordpress.org/Settings_General_Screen

  3. Petr - That's not multisite.

    jabs83 - If you want your sites to be mysite.com/blogname you must install it in mysite.com :( No workarounds yet.

    You could convert your static site to a WP site with pages, perhaps?

  4. Holan Petr
    Member
    Posted 2 years ago #

    Not multisite, but isn't it what the OP probably wanted to do? Not sure.

  5. jabs83
    Member
    Posted 2 years ago #

    Thanks guys for the replies.

    Essentially, what Petr described accomplishes the same greater goal - the creation of multiple blogs under one domain using sub directories. But the process Petr describes uses multiple instances of wordpress instead of a single install utilizing a multisite network.

    It seems to me that the only way to do this would be to install wordpress off the root directory, and subsequent blogs on the network could expand to sub directories off my main domain.

    If this is true, it proves a bit problematic, as the current static site is huge, and a dynamic redevelopment is tabled for the time being.

    I guess then, the question becomes: how can i create a wordpress install to run the multisite feature, but still use only my static site on the root. I think this is the best option, especially considering that a redesign of the main site utilizing WordPress as a CMS is forthcoming.

  6. The OP asked to do it with Multisite :)

    I guess then, the question becomes: how can i create a wordpress install to run the multisite feature, but still use only my static site on the root. I think this is the best option, especially considering that a redesign of the main site utilizing WordPress as a CMS is forthcoming.

    Cheat?

    Install WP in root, make a static front page that is the same as your static site's current page, and just don't use the main blog in root at all.

Topic Closed

This topic has been closed to new replies.

About this Topic