phildick
Forum Replies Created
-
Guess I forgot to have written at the beginning I’ve got Plesk 9.5 installed on the server and all the domains are on the same IP. DNS records for my domains are managed by another server, though.
Thanks for your CNAME explanations, Ipstenu, I’ve successfully configured the domain mapping on my server. Here’s how:
– in the DNS manager, I added the CNAME record for mydomain.nl pointing to mydomain.com, and also deleted the A record for mydomain.nl (which was pointing to the server’s IP);
– in the Domain Mapping panel of WordPress’ network setup I entered ‘Server CNAME domain’ as mydomain.com and cleared the ‘Server IP Address’ field;
– in the Plesk panel (Domains > mydomain.nl > Web Site > Change hosting type) I deleted the web hosting, by setting it to ‘None’;
– in the ‘Domain Mapping’ panel of my nl blog I added the domain mydomain.nl and checked ‘Primary domain for this blog’.That worked ?? Of course I had to remove the subdomains but that’s the only drawback at the moment.
There was a minor glitch with Multisite Language Switcher as it doesn’t append the ‘/’ to the url on main blog page, so I had to add the following redirect to the .htaccess:
redirectMatch 301 ^/nl$ https://mydomain.nl/
I’m only wondering now if there’s a WordPress function which translates the old urls (.com/nl/) to new ones (.nl/) in the PHP code (e.g. https://mydomain.com/nl/foobar/ to https://mydomain.nl/foobar/), as I had some hard-coded urls in the footer of the blog and I had to change them manually (the old urls of course work but I wanted to have new ones for the sake of consistency).
The problem is that I can’t just park this whole domain on top of mydomain.com. We have our own mail server and I can’t just move those email accounts to another domain/provider. Therefore I can’t use CNAME. And all our domains are parked on the same IP.
Hello Ipstenu,
could you elaborate a bit further?My configuration is as follows:
– main website with multiple blogs (language versions): mydomain.com, mydomain.com/nl/, mydomain.com/de/ etc. (network and multisite language switcher installed)
– another website mydomain.nl, currently redirects to mydomain.com/nl/, also has separate mail accounts, few special subdomains etc.
– everything’s on the same server, same IP etc.I need mydomain.nl to show the same content as mydomain.com/nl/ (mydomain.nl/nl/ will also do).
Yes, the widget was not in the sidebar but adding it only solve the problem partially. I still didn’t have the anchors. But then I played with the DA blog settings and changed the administrator email address and some other minor settings to the same values as in the other blogs and that seemed to do the trick. Is this the way the plugin checks for the other available language versions?