ProxyPass not working
-
Domain mapping has been working well for a number of our sites. All of which have subdomains attached:
foo.example.com
bar.example.comour 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/blogsThese 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 / https://blogs.example.com/
ProxyPassReverse / https://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?
https://www.ads-software.com/extend/plugins/wordpress-mu-domain-mapping/
- The topic ‘ProxyPass not working’ is closed to new replies.