Title: Using multiple domain
Last modified: September 7, 2019

---

# Using multiple domain

 *  [tlt](https://wordpress.org/support/users/tlt/)
 * (@tlt)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/using-multiple-domain/)
 * Hi
 * Just for information.
    I’m using it with multiple domain ( using [multiple domain](https://wordpress.org/plugins/multiple-domain/)
   plugin ). By default, it only works with the main domain url.
 * To let it work properly with all domains, you have to set the **WP_SITEURL** 
   variable manually in **wp-config.php** to:
    `define( 'WP_SITEURL', 'https://'.
   $_SERVER['SERVER_NAME']);`
 * You should probably duplicate and adjust the .htaccess rules for the other domains
   too.
    -  This topic was modified 6 years, 8 months ago by [tlt](https://wordpress.org/support/users/tlt/).

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Maya](https://wordpress.org/support/users/tdgu/)
 * (@tdgu)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/using-multiple-domain/#post-11911914)
 * Hi,
    Thanks for your suggestion, i’ll check it out further and make adjustments
   to the code.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘Using multiple domain’ is closed to new replies.

 * ![](https://ps.w.org/wp-hide-security-enhancer/assets/icon-256x256.png?rev=2937681)
 * [WP Hide & Security Enhancer](https://wordpress.org/plugins/wp-hide-security-enhancer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-hide-security-enhancer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-hide-security-enhancer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-hide-security-enhancer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-hide-security-enhancer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-hide-security-enhancer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Maya](https://wordpress.org/support/users/tdgu/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/using-multiple-domain/#post-11911914)
 * Status: not a support question