Setting two top level domains for multisite

What I basically did was the following: Used Domain Mapping plugin in wp-config.php – Changed DOMAIN_CURRENT_SITE and NOBLOGREDIRECT to $_SERVER[‘HTTP_HOST’] as per what @toscho suggested in wp-config.php – Added: define(‘DOMAINMAPPING_ALLOWMULTI’, ‘yes’); // Allow sites to have multiple domains define(‘SUNRISE’, ‘on’); // Domain mapping plugin activation mapped relevant sub.domain.com to relevant sub.domain.eu The main site can … Read more

How do I change site url to my new domain?

WordPress and some themes store configurations and URLs in serialized data, and the Search & Replace plugin does not handle those to correctly change a domain in the database. And don’t use simple SQL change queries in the database via adminer or phpmyadmin. A simple SQL query won’t correctly handle serialized data. See Moving WordPress … Read more

How to copy an existing (custom themed) site to a new domain

If it’s a new domain, it’s pretty simple: Install WordPress on the NEW domain Copy wp-content/themes and wp-content/plugin from the OLD domain to the NEW domain (using FTP) Activate the Theme on the NEW domain Activate Plugins on the NEW domain Delete generic content (hello world post, about page, etc.) from the NEW domain Export … Read more

How to Create a Cookieless Domain in WordPress

Using “cookieless” domain for serving static assets is common recommendation performance tools give. The reasoning being that cookies do nothing at all for such files, but still consume resources. It is, however, not something WP can handle for following reasons: WordPress does not control domain. DNS points domain to specific server’s IP address, where WP … Read more