WordPress.org

Ready to get started?Download WordPress

Forums

Subdomain with one subdirectory install? (11 posts)

  1. jpilantrose
    Member
    Posted 3 years ago #

    What if I want to install wordpress in the root, but point one of the sites at a directory? Example:

    http://www.mysite.com <- location of the wordpress install
    http://www.mysite.com/wp-admin/ <- location of the superadmin
    http://www.mysite.com/blog/ <- site #1
    http://www.othersite.com <- site #2
    http://www.anothersite.com <- site #3

    Is it possible to do this? I've been trying to set this up for a few days and keep running into unresolvable redirects. I've tried setting siteurl to http://www.mysite.com and home to http://www.mysite.com/blog/

    Does anyone have a suggestion? Thanks!

  2. http://www.othersite.com <- site #2
    http://www.anothersite.com <- site #3

    Use the domain mapping plugin.
    http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/
    Don't make separate directories for the other sites.

  3. jpilantrose
    Member
    Posted 3 years ago #

    Thanks Andrea,

    I've been poking around with the domain mapping plug-in and broke my install. I just wanted to make sure that this mix and matching was possible. I appreciate the quick response.

  4. http://www.mysite.com <- location of the wordpress install
    http://www.mysite.com/blog/ <- site #1

    oh, and this part above.

    In a subfolder install, the /blog/ will be appended to the permalinks of the main site, so you won't need two for that.

  5. Dan & Jennifer
    Member
    Posted 3 years ago #

    In a subfolder install, the /blog/ will be appended to the permalinks of the main site, so you won't need two for that.

    in WP 3.0.1 can't you disable that /blog/ from being prepended to permalinks by just editing it out?

    * I did notice that in the main WP-admin -> Settings -> Permalinks "/blog" seems hardcoded, there's no option to change it.

    BUT i was able to get rid of the "/blog" by going to: Super Admin -> Sites -> "Edit" (main site) -> Permalink --- and just take out "/blog".

    that's what's we have working at http://www.TodayIsThatDay.com and the sub-site http://www.TodayIsThatDay.com/inspirational-quotes

    Have an awesome day!
    Dan

  6. Yep, you can edit it out. But if you plan on using it, leave it working on the main blog.

  7. jpilantrose
    Member
    Posted 3 years ago #

    I'm getting much closer now. I'm still running into an issue but I'm wondering if it has to do with the server instead of my wordpress settings. What I'm trying to do is set up a staging mirror of our multisite built at subdomain addresses on the server. See below:

    http://stage.mysite.com <- location of the wordpress install
    http://stage.mysite.com/wp-admin/ <- location of the superadmin
    http://stage.mysite.com/ <- site #1
    http://stage.anothersite.com/ <- site #2
    http://stage.othersite.com/folder/ <- site #3

    Note that site #3 has to appear in a subdirectory at its location. Is this possible, noting the "stage." subdomain address?

    Thanks for all of your help.

  8. jpilantrose
    Member
    Posted 3 years ago #

    I guess I should mention that all of this currently works except for http://stage.othersite.com/folder/ which 404s.

  9. Can't map a foldername. unless you're mapping stage.othersite.com and have the /folder/ on your end (virtually or otherwise)

  10. jpilantrose
    Member
    Posted 3 years ago #

    Good to know. Thanks Andrea.

  11. It's a limitation of domains in general, not WordPress specific. :)

    (see Blogspot's recent change from supporting ftp)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.