User Tools

Site Tools


evil_wordpress

Some hacks for the evil WORDPRESS:

Allow multiple domains to point to your WordPress instance.

Go to WordPress installed root directory and edit wp-config.php.

Place below lines after the table_prefix line.

/*
 * Handle multi domain into single instance of wordpress installation
 */
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']);
define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']);
evil_wordpress.txt · Last modified: 2016/09/15 07:55 by vinny