Porting WordPress to Another site

Step 1:

edit wp-config.php

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', '********' );

/** MySQL database username */
define( 'DB_USER', '********' );

/** MySQL database password */
define( 'DB_PASSWORD', '********' );

/** MySQL hostname */
define( 'DB_HOST', '********' );

Step 2

edit urls in wp_options table

Step 3

edit ,htaccess

RewriteBase /blog/
#And
RewriteRule . /blog/index.php [L]


Leave a Reply