Support » How-To and Troubleshooting » 2 Different URL's of same site

2 Different URL's of same site

  • Many days ago, I have seen a word press site, which was using 2 different URL’s (dev.xyz.com and xyz.com), when I make changes in dev.xyz.com, they will appear automatically in xyz.com.

    I have tried to find out the method, but not succeded. Have any idea , how to do this.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The WordPress constants WP_SITEURL and WP_HOME may have been set dynamically. Ref: http://codex.wordpress.org/Editing_wp-config.php#WordPress_address_.28URL.29 . Why would you want to do that, anyway?

    This is called a staging and production server. Anything you do on dev.xyz.com does not appear on xyz.com until you “push” ( or make ) your changes live to xyz.com

    You use dev.xyz.com to test plugins and themes before doing anything on a live production site to test for errors or conflicts.

    Your host may be able to set it up for you, but I’m fairly certain there are a few plugins out there that can set it up.

    WP-Stagecoach comes to mind.

    hi Pothi and Evan,

    Thanks for your replies,

    @evan – Thanks for telling about staging platform, it is good idea, but still this is different.

    @pothi – Thanks for telling about WordPress dynamic URL function, this is some difficult for me.

    Actually, I need to know about the function to move site from dev.xyz.com to xyz.com with a single click & minimum time (I found transferring files and database are little complicated, so trying to find alternative method )

    Again thanks very much to both of you.


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘2 Different URL's of same site’ is closed to new replies.