Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
2 added 11 characters in body
source | link

Follow these instructions on moving WordPress, but use the root domain for references to your old subdomain instead of the /blog/ directory (I've made this change for you in the steps below):

  1. Create a robots.txt file in the root directory of the new domain with the following contents:

    User-agent: *  
    Disallow: /
    
  2. Copy the database and files to the new domain.

  3. Edit wp-config.php to have the new database settings, and add the following lines, replacing example.com with the new domain:

    define('WP_SITEURL', 'http://www.example.com');  
    define('WP_HOME', 'http://www.example.com');
    
  4. Now set up your blog install with the same settings as on the old domain. (If you have a caching plugin installed, delete your cache files.)

  5. Install the Search and Replace plugin, and do a search and replace for your old URL to change it to your new URL.
  6. Once you're done moving WordPress and you've checked everything works twice, remove the robots.txt file.
  7. On your old blog, add the following line to the top of your Apache .htaccess or vhost-config:

    Redirect 301 / http://www.newdomain.com/
    
  8. Remove the old blog code and database.
  9. Change your FeedBurner account, if you have one, to pick up the correct feed.

To keep your PageRank, the crucial step is step 7, which redirects requests for your old blog pages to the new site.

Also see Moving WordPress and Changing The Site URL.

Follow these instructions on moving WordPress, but use the root domain for references to your old subdomain instead of the /blog/ directory (I've made this change for you in the steps below):

  1. Create a robots.txt file in the root directory of the new domain with the following contents:

    User-agent: *  
    Disallow: /
    
  2. Copy the database and files to the new domain.

  3. Edit wp-config.php to have the new database settings, and add the following lines, replacing example.com with the new domain:

    define('WP_SITEURL', 'http://www.example.com');  
    define('WP_HOME', 'http://www.example.com');
    
  4. Now set up your blog install with the same settings as on the old domain. (If you have a caching plugin installed, delete your cache files.)

  5. Install the Search and Replace plugin, and do a search and replace for your old URL to change it to your new URL.
  6. Once you're done moving WordPress and you've checked everything works twice, remove the robots.txt file.
  7. On your old blog, add the following line to your Apache .htaccess or vhost-config:

    Redirect 301 / http://www.newdomain.com/
    
  8. Remove the old blog code and database.
  9. Change your FeedBurner account, if you have one, to pick up the correct feed.

To keep your PageRank, the crucial step is step 7, which redirects requests for your old blog pages to the new site.

Also see Moving WordPress and Changing The Site URL.

Follow these instructions on moving WordPress, but use the root domain for references to your old subdomain instead of the /blog/ directory (I've made this change for you in the steps below):

  1. Create a robots.txt file in the root directory of the new domain with the following contents:

    User-agent: *  
    Disallow: /
    
  2. Copy the database and files to the new domain.

  3. Edit wp-config.php to have the new database settings, and add the following lines, replacing example.com with the new domain:

    define('WP_SITEURL', 'http://www.example.com');  
    define('WP_HOME', 'http://www.example.com');
    
  4. Now set up your blog install with the same settings as on the old domain. (If you have a caching plugin installed, delete your cache files.)

  5. Install the Search and Replace plugin, and do a search and replace for your old URL to change it to your new URL.
  6. Once you're done moving WordPress and you've checked everything works twice, remove the robots.txt file.
  7. On your old blog, add the following line to the top of your Apache .htaccess or vhost-config:

    Redirect 301 / http://www.newdomain.com/
    
  8. Remove the old blog code and database.
  9. Change your FeedBurner account, if you have one, to pick up the correct feed.

To keep your PageRank, the crucial step is step 7, which redirects requests for your old blog pages to the new site.

Also see Moving WordPress and Changing The Site URL.

1
source | link

Follow these instructions on moving WordPress, but use the root domain for references to your old subdomain instead of the /blog/ directory (I've made this change for you in the steps below):

  1. Create a robots.txt file in the root directory of the new domain with the following contents:

    User-agent: *  
    Disallow: /
    
  2. Copy the database and files to the new domain.

  3. Edit wp-config.php to have the new database settings, and add the following lines, replacing example.com with the new domain:

    define('WP_SITEURL', 'http://www.example.com');  
    define('WP_HOME', 'http://www.example.com');
    
  4. Now set up your blog install with the same settings as on the old domain. (If you have a caching plugin installed, delete your cache files.)

  5. Install the Search and Replace plugin, and do a search and replace for your old URL to change it to your new URL.
  6. Once you're done moving WordPress and you've checked everything works twice, remove the robots.txt file.
  7. On your old blog, add the following line to your Apache .htaccess or vhost-config:

    Redirect 301 / http://www.newdomain.com/
    
  8. Remove the old blog code and database.
  9. Change your FeedBurner account, if you have one, to pick up the correct feed.

To keep your PageRank, the crucial step is step 7, which redirects requests for your old blog pages to the new site.

Also see Moving WordPress and Changing The Site URL.