The MU forums have moved to WordPress.org

WPMU rewrite /sites/wpsite to /wpsite (2 posts)

  1. staze
    Member
    Posted 14 years ago #

    All,

    This actually pertains to WP3b1, but since it's basically the same as WPMU, I thought I might ask here.

    I'm curious if there is a way to use mod_rewrite and mod_proxy in Apache 2.2 to proxy a WP 3.0b1 Multisite site from domain.com/sites/wpsitename to domain.com/wpsitename

    Currently, if I just do a simple:
    RewriteRule ^test3(.*)$ /sites/test3$1 [PT]

    It shows a page, but no content (says "Not Found", and I get a search bar). But I see the CSS, graphics, etc. Though links all want to point to /sites/pagename.

    There must be someway to do this... and looking for WPMU info hasn't turned up much that seems to indicate this is possible.

    Thanks very much!

  2. andrea_r
    Moderator
    Posted 14 years ago #

    Why not just move the folder? Or create a symlink?

    And you'll need to go change all the links in the database.

About this Topic