I believe we get that response too if you only map the subdomain. We do one additional step. We edit the site from the network menu: Network admin -> Sites -> edit -> settings (tab). We modify a few attributes but I think ‘Siteurl’ is the main one. We replace site name, e.g. sub1.com, instead of the default values of ‘sub1.maindomain.com’.
No, that’s not normal.
Was sub1.domain.com working before hand? (Gotta ask)
Yes, before I put the domain (sub1.com) the sub1.domain.com it was working just fine before the change on Network admin>Sites>edit>info(tab)>Domain
also i saw this post so the domain mapping plugin isn’t necessary?!
It depends on what you wanted your site to look like.
If you wanted sub.domain.com to point to sub1.com then YES you need the mapping plugin.
But…
We modify a few attributes but I think ‘Siteurl’ is the main one. We replace site name, e.g. sub1.com, instead of the default values of ‘sub1.maindomain.com’.
DO NOT DO THIS.
Seriously DO NOT edit that. the whole point of the plugin is you DO NOT have to do it. The plugin handles it.
How did you add sub1.com to your server?
setup the multisite like this
it is not right this toutorial?
Hi there @b_dark,
The tutorial that you linked to can achieve something similar to what you are looking for, but you may come across other complications. By setting your cookies to blank, you may have other issue with multisite, or SSL. The plugin will take care of your cookies so you can properly login to your mapped URL domain as if the sub-site were in the URL. If you can change things back to the way they were, then let us know what you are finding.
ok, on Network admin>Sites>edit>info(tab)>Domain i left it as it is sub.maindomain.com
and i changed the Network admin>Sites>edit>settings(tab)>
Siteurl to sub.com
what do i have to do with cookies?
Hi there,
I’m not one to tell you what to do, especially when I’m not exactly sure. I’m not a plugin author, just a volunteer sharing the WordPress love. My comments are based on troubleshooting the Domain Mapping plugin and issues that folks have had using outdated versions. The best advice you can get from me will be the suggestion to use the plugin and let the plugin author, ie the smart guys, make the decision (of what to do with cookies) for you.
and i changed the Network admin>Sites>edit>settings(tab)>
Siteurl to sub.com
NEVER EVER change those settings. I know you CAN change them, but you can also drop a brick on your foot π
Cookies are NOT shared between different domains. There’s no way around that. Do what the plugin says and how it wants.
on this tutotial say
Step 5 Final Steps
If you donβt want to utilize the original sub-domain URL of your child site any more, you may remove all the traces of the URL from the Network Admin Dashboard. For this go to Sites > All Sites and Edit the Site which you have mapped. In each of the tabs search for the old URL and replace it with the new URL….
so which is the correct steps to mapping our subdomains?
Well … that tutorial sure ain’t right. Why WHY why must they persist in telling people to do this stuff?
1) Make a site
2) Map the domain via the plugin
3) Use a VERY SIMPLE tool like Velvet Blue – http://wordpress.org/plugins/velvet-blues-update-urls/ – to edit only your post content
4) Done
Seriously. That’s IT. No need to overcomplicate. Everything ELSE the domain mapping plugin handles.
ok a roll back the
Top Referrals: and i changed the Network admin>Sites>edit>settings(tab)>Siteurl to sub.maindomain.com
and everything is is ok when i enter any subdomain redirect automatic to subs mapping domain
but…
on google analytics show me everytime when i visit any subs mapping domain
on real time report Top Referrals: maindomain.com
before when i have on the Network admin>Sites>edit>settings(tab)>Siteurl sub.com
the Top Referrals: is empty
is good to have on “Top Referrals” my maindomain? is totaly different content sites.
:/
That’s a totally different question. It’s not a bad thing.