JamesManning
Forum Replies Created
-
Another way of phrasing (that might make more sense?) would be that the DNS / web server / etc issues of getting the particular url’s routed to WordPress is working, but I can’t figure out how to tell WordPress that the incoming url’s of http://www.bar.net/blog, http://www.baz.com/blog, etc. should map to its existing subdirectory blogs (there’s nothing in them yet, so killing them and re-creating them in a different manner is fine if that helps).
Looking in wp_blogs (which along with wp_sites seems to indicate I have 1 site and 11 blogs, instead of 11 sites), for instance, it looks like I could take the Domain column (which is currently all http://www.foo.com) and Path (which is /blog/ for the ‘dashboard blog’, and /blog/bardotnet/, /blog/bazdotcom/, etc for the others) and modify it to match the intended incoming url’s. I’m guessing it’s not actually that simple, since the blog url ends up in many other places (like all the wp_*_options tables, 1 per blog), but hopefully that gets across the intent. 🙂
Thanks!
The root web site is a different webapp (asp.net 3.5 app, unrelated to wordpress). It’s been working fine for the various domains already. WordPress is installed at a wholly separate location in terms of the filesystem, and is installed at /blog under that existing website in terms of url, so any of those domains being accessed with a url path at or under /blog will get routed to the WordPress app. I’m not sure what the equivalent situation with Apache would be to translate it to (on a *nix machine, i’d likely just make a symlink, but that’s not quite the same thing).
Those are all served by the same IIS web site (it has bindings for each of those hosts).
The target url’s work now (in terms of being accessible by a web browser over the internet), but when accessing them, they all redirect back to http://www.foo.com/blog/ (the first/main one).
- http://www.foo.com/blog/ serves up the main/first blog
- http://www.bar.net/blog/ redirects to http://www.foo.com/blog/
- http://www.baz.com/blog/ redirects to http://www.foo.com/blog/