The MU forums have moved to WordPress.org

2 domain names for same blog(s) (1 post)

  1. joegoar
    Member
    Posted 15 years ago #

    We recently launched wordpress single user for a division of our company--they only needed a single blog.

    So editors could securely log into the site, we created 2 separate apache instances: http://blogs.abc.com/blogs and https://scribe.abc.com/blogs
    They share documentroot.
    Viewers go to the former & editors login via the 2nd site listed. This site has only been up a couple weeks, but this approach seems to work well.

    Another division of our company is switching from moveable type to wordpress mu. The plan was to use this same approach, however when I tried this, I learned quickly that one of the first things wp mu does is query the host header to match against domain in the wp_blogs table, or something on those lines. The result is a wordpress fatal error stating it could not find scribe.abc.com in dbname::wp_blogs.

    I was hoping I could put null or wildcard in for domain in wp_blogs table, but was not able. Then I was thinking of duplicate entries in the wp_blogs table for each domain_id but that is a primary key.
    Has anyone come across this issue?
    The main goal is to have editors logging-in via secure https, preferably a whole different site...we have blogs.abc.com cached pretty well & scribe.abc.com bypasses the caching and goes directly to our web server farm.

    We're using the latest 2.6.5
    Let me know if I need to provide more details.
    Thanks,
    Joe

About this Topic

  • Started 15 years ago by joegoar