Monday, August 8, 2011

wordpress

Porting
  1. database config : wp-config.php
  2. SELECT * 
    FROM `wp_options` 
    WHERE option_name
    IN (
    'siteurl', 'home'
    );
  3. change site url in db:
    update wp_options` set `option_value` = 'wp_base_url' where option_name in('siteurl','home');
  4. if required,change RewriteBase in .htaccess

No comments:

Post a Comment