WordPress.org

Ready to get started?Download WordPress

Forums

Proxy from domain.com/sites/wpsite to domain.com/wpsite (4 posts)

  1. staze
    Member
    Posted 4 years ago #

    All,

    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. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    You could have a look at Giving_WordPress_Its_Own_Directory but I don;'t know if it will work with MU. Might be worth asking on http://mu.wordpress.org/forums/

  3. staze
    Member
    Posted 4 years ago #

    esmi,

    Thanks very much. I don't think this worked, but I'll play around with it and see what I can get going.

  4. staze
    Member
    Posted 4 years ago #

    I noticed on the bottom of that page, it specifically says it won't work with WPMU or WP3 with multisite.

    Doh. Well... hopefully there will be some option in the longer term. For now I can just do hard redirects.

Topic Closed

This topic has been closed to new replies.

About this Topic