• I am trying to direct my bluehost domain http://www.lookbookcookbook.com to the sub directory on my wordpress http://www.earth-mamma.net/lbcb using domain mapping.

    I correctly installed the plugin, saved my settings for ‘domain mapping’ under ‘super admin’ and changed my www cname value in bluehost to direct to earth-mamma.net

    In ‘domain settings’ under ‘tools’ i changed my primary domain to lookbookcookbook.com from earth-mamma.net/lbcb

    When I go to either site, it loads the place holder page I had in place for lookbookcookbook.com and not the contents of earth-mamma.net/lbcb

    Any help on how to fix this would be much appreciated!

    https://wordpress.org/plugins/wordpress-mu-domain-mapping/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ron Rennick

    (@wpmuguru)

    You have to remove the placeholder host you have in cPanel and park lookbookcookbook.com onto earth-mama.net.

    Thread Starter jessamca11

    (@jessamca11)

    Thanks you – it works!

    Except now if I don’t put the www. in front of it, it directs to my primary domain, not my sub directory. Any advice on how to fix this?

    Plugin Author Ron Rennick

    (@wpmuguru)

    You need to add a redirect to redirect the non-www domain to the www.

    Thread Starter jessamca11

    (@jessamca11)

    I just did that, so it works, except it wouldn’t let me do a wildcard direct.

    So if anyone now visits any other part of the site without putting the www it just goes to the main homepage instead of the link they were trying. is there any way to fix this?

    Plugin Author Ron Rennick

    (@wpmuguru)

    You can do something like the following in your .htaccess:

    RewriteCond %{HTTP_HOST} ^example.com [NC,OR]
    RewriteCond %{HTTP_HOST} ^www.example.com [NC]
    RewriteRule ^(.*)$ http://example.net/$1 [L,R=301,NC]
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mapping not directing properly’ is closed to new replies.