Home » Wordpress » Override WordPress and Site URL using wp-config file

I found code to Override WordPress and Site URL using wp-config file. I like to share with you all.

<?php
// Define wp home and site url
define('WP_HOME','http://production.whateversite.com');
define('WP_SITEURL','http://production.whateversite.com');
?>

Instructions: This snippet lets you redfine two constants that makes it possible to work with production databases, locally. It lets you use the same database for production and development. THIS does not change the database records or something. No need to search and replace a whole lot of data in SQL. You can read what the WordPress Codex have to say, and also checkout beingzoe.com that has written about this.

Related links: http://codex.wordpress.org/Running_a_Development_Copy_of_WordPress

Incoming search terms:

Wordpress Freelancer, Joomla Freelancer Web designer Mumbai india, Wordpress web developer India, Joomla Web developer india, Outsourcing web project india mumbai

By Santosh Kori Published: October 10, 2012 Professional Freelance Website developer 5 stars based on 65 reviews Total time: 24 hour 00 min Wordpress Joomla XHTML CSS jQuery HTML5 eCommerce CSS3 ☞ Offers low cost freelance web designing, asp php asp.net web development services from Mumbai India. Freelance web designer & developer Mumbai India.

I AM NOT AVAILABLE FOR WEB DESIGN & DEVELOPMENT PROJECTS