Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Bet Hannon

    (@bethannon1)

    The domain you want to map to a subsite should get pointed to the root directory of the network. This will differ from host to host (depending on how they have things set up), but my host (Media Temple) requires that I create a symlink for this to work.

    In my situation, I point the domain for mapping to my hosting, create the symlink to the network root domain directory, then set up the mapping inside the WP network admin dashboard.

    Hope this is helpful.

    I had a similar situation and had to use the Domain Mapping plugin. More info on that here:
    https://brianshim.com/webtricks/wordpress-multisite-separate-domain-names/

    Brian

    Thread Starter Maeve Lander

    (@enigmaweb)

    Hey Guys, thanks for the replies, much appreciated.

    However, my issue isn’t getting domain mapping for Multisite working. That’s all set up and working perfectly already. The issue is setting a redirect on a domain to point to a site on Multisite network, via the cPanel of the root Multisite. I see no reason why it shouldn’t work like a normal addon domain with a redirect… but it’s not working.

    Any ideas?

    Thread Starter Maeve Lander

    (@enigmaweb)

    Ok found the issue. The redirect rules were written to .htaccess via cPanel and were not being processed due to the previous WordPress rules. Fixed by moving the lines in the .htacess file noted below to before the WordPress rewrites. Redirect now works perfectly.

    RewriteCond %{HTTP_HOST} ^wentworth\-west\.com\.au$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.wentworth\-west\.com\.au$
    RewriteRule ^/?$ "http\:\/\/wentworthwest\.com\.au\/" [R=301,L]
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redirecting a domain to a mapped Multisite Subdirectory’ is closed to new replies.