Forums

network site alias domains (3 posts)

  1. guygadboir
    Member
    Posted 2 years ago #

    Sometimes I like being able to refer to a site using either http://www.dom.ain or http://dom.ain .

    While I *can* go in to my apache configs and say:

    RewriteCond %{HTTP_HOST} ^.*\.dom.ain [NC]
    RewriteRule ^/?(.*) http://dom.ain/$1 [L,R,NE]

    that's extra work I have to remember to do when I create a site, and extra work if I remove a site.

    Similarly, if somebody wants to have multiple domains that map to the same site, I can go into my apache configs and say:

    # Yes, the following is a bit sloppy...
    RewriteCond %{HTTP_HOST} ^.*\.dom1.org [NC,OR]
    RewriteCond %{HTTP_HOST} ^.*dom2.com [NC,OR]
    RewriteCond %{HTTP_HOST} ^.*dom3.org [NC]
    RewriteRule ^/?(.*) http://dom1.org/$1 [L,R,NE]

    but I still have all of the issues noted above.

    Would it be difficult to have the ability to list "domain aliases" when creating a networked site that would handle all of this for me?

    Yes, this is more of an issue for me because I like to use "domain" network sites instead of "subdomain" sites, but even then, I think this would be a useful enhancement.

  2. rkm
    Member
    Posted 2 years ago #

    I personally think this would make WP multi-site *so* much more useful and intuitive.

  3. Andrea_r
    team pirate
    Posted 2 years ago #

    It's covered by the domain mapping plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.