Redirecting Blogger label/archive links to WP


#1

Hi, I was following your instruction on redirecting Blogger label/archive links to corresponding pages in the new WP site, and added the following codes into my .htaccess file but nothing happened. Is there anything else I should be doing to make the directin work?

Redirect archives RewriteRule ^([0-9]{4})

([0-9]{1,2})([0-9]{1,2})_archive.html$ $1/$2/ [L,R=301]

Redirect labels/categories RewriteRule ^search/label/(.*)$ category/$1/ [L,R=301]


#2

Hi,

The .htaccess rule is for redirecting your blogger archives pages http://example.com/2010_10_01_archive.html to WordPress archives links http://example.com/2010/10/

and your blogger label URL http://example.com/search/label/label-name get redirect into WordPress Categories URL http://example.com/category/label-name

Thanks,


#3

I'm having this issue as well...I added that code in the .htaccess file...the archives are redirecting but not the labels....

Any idea why?


#4

Okay, nevermind they are working but we converted categories to tags so I changed the code to be:

RewriteRule ^search/label/(.*)$ tag/$1/ [L,R=301]

And that worked except that she has some tags that are more than one word. So on google there are links like this one: www.allthingsthrifty.com/search/label/Master%20Bedroom and those give us a 404 page. I need that %20 to convert to a hyphen...not a space

Do you know how?


#5

@lexilynstudio

You can use smart 404 plugin which will take care of such URLs.


#6