I currently have wordpress installed in its own directory and serving content for URLs beginning with
/blog. So all my wordpress content is served from URLs like these:
http://www.superfantasticsite.com/blog http://www.superfantasticsite.com/blog/permalink-something-something http://www.superfantasticsite.com/blog/wp-admin
I would also like to serve this same stuff, but substitute
/blog is and see everything just the same. For example, see same stuff with these URLs:
http://www.superfantasticsite.com/foo http://www.superfantasticsite.com/foo/permalink-something-something http://www.superfantasticsite.com/foo/wp-admin
And maybe later I'd even want to do
/bar as well, etc.
I can easily add an Alias to the apache configs for
/foo alongside the existing
Alias /blog /path/to/installed/wordpress Alias /foo /path/to/installed/wordpress
This works, in the sense that apache now serves wordpress content when the URL starts with
/foo. However, wordpress does a rewrite of the URL, and the URL goes back to being
http://www.superfantasticsite.com/blog/xxxxxxxxxx. I can't pinpoint where this is happening in the wp code or how to configure it to not rewrite certain paths.
How can I serve the same wordpress content using more than one