WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have one WordPress blog/site and want to point/map more than one domain name hosted/parked on my server.

How do i do that *without redirecting by .htaccess?*


Im configure the related setting in cpanel or plesk in parked domain but wordpress dont recognized them. I want to know why cant i confure thet easy as config it for first domain name? And also want to how do that?

share|improve this question
I think this may be outside the scope of WPSE but you should be able to do it in CPanel or Plesk on the GUI end or park it with .htaccess. – BandonRandon Jan 21 '13 at 9:27
up vote 2 down vote accepted

You can use a predefined constants that points to site URL.

(from Codex)

define('WP_SITEURL', 'http://example.com/wordpress');
define('WP_HOME',    'http://example.com/wordpress'); 

Small example

define('WP_SITEURL', 'http://'.$_SERVER['HTTP_HOST']);
define('WP_HOME',    'http://'.$_SERVER['HTTP_HOST']); 
share|improve this answer
im config the configs about park domain in cpanel .... Then ... it means that i install it again for second url? In seperate folder? Or for first installation repeat it more times for each url address? – saber tabatabaee yazdi Jan 21 '13 at 11:54

You can use the Multidomain enabler plugin for this purpose. https://wordpress.org/plugins/multidomain-multitheme/

Plugin Wordpress Multi domain screenshot here (tested and worked!)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.