WPMU w/ Multiple .htaccess files?

Hello,

We would like to use WPMU to host multiple different clients with their own unique domain name. We have WPMU configured as such using sub-domains and the domain mapper plugin to offer clients url like so http://www.clientA.com. But with the sub-domains configuration, there is only one master .htaccess. My questions are:

1. If we install WPMU using the sub-folder (instead of sub-domains) option, can we have a unique .htaccess for each sub-domain (ie http://www.wordpressmu.com/clientA/.htaccess ) for SEO purposes?

2. Can the WordPress MU Domain Mapper work w/ sub-folders to map http://www.wordpressmu.com/clientA/ to http://www.clientA.com ?

Thanks,

SW

  • aecnu

    Greetings stevewest15,

    Thank you for being a WPMU Dev member!

    1. If we install WPMU using the sub-folder (instead of sub-domains) option, can we have a unique .htaccess for each sub-domain (ie http://www.wordpressmu.com/clientA/.htaccess ) for SEO purposes?

    I do not understand what you mean for SEO purposes - to what end please? of course this becomes irrelevant if you choose to use sub-folders as mentioned below.

    2. Can the WordPress MU Domain Mapper work w/ sub-folders to map http://www.wordpressmu.com/clientA/ to http://www.clientA.com ?

    Yes it can be used to map TLD's (Top Level Domains) to sub folders. But note your example is backwards the way domain mapping works --> it is more accurately described as http://www.clientA.com ~to~ http://www.wordpressmu.com/clientA/

    If this thread is not resolved because the suggested action did not work or you have any more questions related to this thread, please feel free to post them below including any new symptoms or errors and tick the 'Mark as Not Resolved (re-open)' box below the post area (or else we'll miss it!)

    Cheers, Joe :slight_smile:

  • stevewest15

    Hi Joe,

    I do not understand what you mean for SEO purposes - to what end please? of course this becomes irrelevant if you choose to use sub-folders as mentioned below.

    The SEO work we typically do is to put in the .htaccess RedirectMatch to ensure old links point to the new website links so the website doesn't get penalized by search engines. This is why I was thinking we need to have a .htaccess per client site.

    If I'm understanding your reply, we can utilize WP MU in sub-folder configuration and each client can have their own .htaccess which won't conflict w/ the main WP MU .htaccess like so:

    wordpressmu.com/.htaccess
    wordpressmu.com/clientA/.htaccess
    wordpressmu.com/clientB/.htaccess
    etc

    Also, on top of the per client .htaccess requirement above, WP MU should offer clients to use their own domain for all links for front-end and back-end like so:

    http://www.clientA.com ~to~ http://www.wordpressmu.com/clientA/

    Thank you again for all your help!

    SW

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.