WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
ProxyPass not working (2 posts)

  1. mij_llgc
    Member
    Posted 1 year ago #

    Domain mapping has been working well for a number of our sites. All of which have subdomains attached:

    foo.example.com
    bar.example.com

    our server (and the root location of WordPress) is located at blogs.example.com

    These work fine. But when we try and pass a directory on the end of the URL (with, or without a subdomain):

    anotherexample.com/blog
    foo.bar.com/blogs

    These just redirect back to blogs.example.com

    We have the CNAME (in domain mapping) set to blogs.example.com

    And on the server for our websites we have in our conf file:

    ProxyPreserveHost On

    ProxyPass / http://blogs.example.com/
    ProxyPassReverse / http://blogs.example.com/

    We have a DNS for anotherexample.com/blog pointing at this conf file. But we can't get it to work, the fact that we're trying to point to a URL with a directory at the end is causing WordPress just to redirect to blogs.example.com.

    Any suggestions?

    http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 1 year ago #

    You would probably need to set up a proxy for the mapped domains as well.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic