WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Path based multisite on a subdomain? (7 posts)

  1. ariviom
    Member
    Posted 1 year ago #

    I'm setting up my first multisite and am a bit confused about what does and doesn't work with subdomains.

    Is it possible to install WordPress on a subdomain and then set up a path based multisite?

    The structure for the sites would look like "subdomain.domain.com/site1/"

  2. arthur.afarias
    Member
    Posted 1 year ago #

    Yes.

    Something related to the .htaccess file, search in the forum. You gonna find something similar to your question =)

  3. ariviom
    Member
    Posted 1 year ago #

    Thanks Arthur. I got it set up and everything seemed to be fine. However, when I create new sites I can't access their dashboards. Instead I get "Firefox has detected that the server is redirecting the request for this address in a way that will never complete."

    I can view the new site via sudomain.domain.com/site1 but the theme does not display.

    Any ideas why this might be?

  4. arthur.afarias
    Member
    Posted 1 year ago #

  5. ariviom
    Member
    Posted 1 year ago #

    Thanks Arthur. I read through the post you linked (I'm having the same problem) and several others dealing with .htaccess files and couldn't find a solution. I think the thread you linked to was closed before being resolved.

    Any other ideas? I would start over but I wouldn't know anything to do differently in the install. It seemed pretty straightforward up until the redirect.

    What seems especially odd to me is that I can access additional sites that I create but they display as plain HTML without CSS. I can see the sites (sans CSS) but can't access their dashboards.

  6. Just install it in subdomain.domain.com

    Nothing more to it than that :) No fancy tricks needed.

  7. ariviom
    Member
    Posted 1 year ago #

    Thanks all. I eventually got it sorted out.

    The trick was to add an .htaccess file in the directory that hosted the subdomain - so public_html/subdomain/. Before I was configuring the .htaccess file in the root. Hope that helps someone with a similar problem.

Topic Closed

This topic has been closed to new replies.

About this Topic