Support » Installing WordPress » Same WordPress instance for multiple virtual directories?

  • We have an existing ASP.NET site and need to add multiple folders on the same domain for things like blogs, news, etc. It’s easy enough to configure a virtual directory in IIS that makes /blogs point at a WordPress instance. However, is it possible to use that same instance and DB for /news and others? Or should we expect to treat each of those virtual directories as separate WordPress sites?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I guest you have three options here:

    · First, the simple one, treat each section (blog, news…) as a WordPress category in a single WordPress instalation. Or a little bit complex but more customizable, create a custom post type for each section (blog, news…) if they are going to have different structure.

    Each category will be like: domain.com/category/blog, domain.com/category/news but can me hacked with a plugin: https://es.wordpress.org/plugins/remove-category-url/

    Each custom post type will be like: domain.com/blog, domain.com/news
    https://codex.wordpress.org/Post_Types

    · Second, use WordPress Multisite and treat each section as a WordPress Single site on the WordPress Multisite instalation. You will have the ability to treat each section different (with different configuration) but using the same theme for example.
    Doc about WordPress Multisite:
    https://codex.wordpress.org/Create_A_Network

    ·Third, use different WordPress installations on different folder on your server. This can be complex but will be useful if you want a totally independent site for each section.
    Doc about Directories on WordPress:
    https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    Thank you, these are the kinds of options we were looking for.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Same WordPress instance for multiple virtual directories?’ is closed to new replies.