Moving blog from Blogger to Wordpress

April 5 by HoloCoCos Comment »

One of the benefits of changing hosting is that I came from a Windows server with IIS and went to a Linux, Apache, can use mod_rewrite to famous definitely migrate my blog from Blogger to Wordpress.

I had kept the files. Html and. Php on the site, putting in a redirect. Php, Google and all search engine kept seeing all three versions (of Blogger in PHP, the Blogger HTML and Wordpress). Came to an accumulation of comments appear in the version of Blogger!

The migration was pretty simple:

  1. change the permalink to "/ index.php /% year% /% monthnum% /% postname% /" to "/% category% /% postname% /"
  2. install the plugin Dean's Permalinks Migration (there is a bug in version 1.0 and I installed the version 1.1-gx)
  3. place the former above the plugin permalink
  4. add these lines at the beginning of the file. htaccess

[code] RewriteRule ^ ([0-9] (4 })/([ 0-9]) (2 }/(.+) \. (php | html) $ index.php / $ 1 / $ 2 / $ 3 [R = 301, NC, L]
RewriteRule ^ ([0-9] (4 })_([ 0-9]) (2) _01_ (holococos_)? Archive \. (Php | html) $ index.php / $ 1 / $ 2 / $ 3 [R = 301 , NC, L] [/ code]

The first line redirects permanently links the type http://holococos.sjdr.com.br/2007/01/ano-novo.php or http://holococos.sjdr.com.br/2007/01/ano-novo. html for http://holococos.sjdr.com.br/index.php/2007/01/ano-novo/ that because of following the old permalink, will be redirected by the plugin permanent Dean's Permalinks Migration to http://holococos .sjdr.com.br / nonsense / New Year /

The second line redirects the old pages file Blogger using the same logic.

Spread this idea:
  • Twitter
  • Facebook
  • del.icio.us
  • LinkedIn
  • RSS
  • Google Bookmarks
  • email
  • PDF

3 comments

  1. William said:

    where is this. htaccess?
    I rolled it and not found anything la ...

  2. Wendson said

    Do not understand the line Segunta aquivo. Htaccess
    I put what?

Leave a Reply