How to use Multiple-Domains in one Multi-Site Installation?

As far as I know, Multi-Domains from WPMUDEV is the only plugin which works flawlessly with the lastest version of WordPress. It is BuddyPress compatible, has a single signon and even a multi-subdomain feature (blog1.subdomain.site.com, blog2.subdomain.site.com). There is a free alternative, but it has not been updated for the latest version of WordPress (the author … Read more

Multiple domains for multiple single installs

Serve both sites from the same installation. In your wp-config.php include the settings depending on $_SERVER[‘HTTP_HOST’]. Example for a complete wp-config.php: define( ‘DB_HOST’, ‘localhost’ ); define( ‘DB_CHARSET’, ‘utf8’ ); define( ‘DB_COLLATE’, ‘utf8_general_ci’ ); if ( ‘example.net’ === $_SERVER[‘HTTP_HOST’] ) // .net domain include ‘example.net.config.php’; elseif ( ‘example.com’ === $_SERVER[‘HTTP_HOST’] ) // .com domain include ‘example.com.config.php’; … 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

Moving my current wordpress blog to a subdomain

Check out this word-press plugin: Backup and Move. Backup And Move plugin allow blog administrators to create a complete backup of their blog and easy option for restore it on a different server, domain, location, etc. This plugin can make all the transitions of moving a wordpress blog , creating a complete backup and restoring … Read more

WordPress multisite with domain mapping and virtual host on local with fake domain

DocumentRoot for each VirtualHost should point to the directory where you installed WP multisite. There is no actual directory for subsites, they’re all virtual. Using your example: <VirtualHost *:80> DocumentRoot “C:/home/wp-intall-directory” ServerName mysite-1.dev # not required Alias /mysite-1.dev “/home/mysite-1” <Directory “/home/wp-intall-directory”> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)