/ Published in: PHP
Source: http://www.websitedesignby.com/programming/wordpress-website-development-work-flow-wp-config-php/
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if($_SERVER['HTTP_HOST']==’livedomain.com’ || $_SERVER['HTTP_HOST']==’www.livedomain.com’){ }else{ } // You can have multiple installations in one database if you give each a unique prefix $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please! // Change this to localize WordPress. A corresponding MO file for the // chosen language must be installed to wp-content/languages. // For example, install de.mo to wp-content/languages and set WPLANG to ‘de’ // to enable German language support. /* That’s all, stop editing! Happy blogging. */ require_once(ABSPATH . ‘wp-settings.php’);
URL: http://www.websitedesignby.com/programming/wordpress-website-development-work-flow-wp-config-php/