blogger to wordpress
September 1st, 2010

Redirect specific posts from blogger to wordpress or other sites

Suppose you have started blogging with blogger blog and after some time, you have created a new blog in wordpress or other services. Now you want to move some special posts(NOT ALL) from old blog to new blog and redirect user for these posts. How can you do? Here is a simple way to do this.

First you need to copy the post and publish it in your new blog.
Login to blogger blog, Go to Design tab > Edit HTML and Add following script after <head>:

<script type='text/javascript'>
var urls = [
{oldurl: &#39;;,
newurl: &#39;;},

for(var i=0;i &lt; urls.length; i++)
if (window.location == urls[i].oldurl)
window.location.href = urls[i].newurl;

In above code, I have redirected 3 links like

You have to replace links with yours. You have to assign old post url in oldurl variable and new post url in newurl variable. You can add more links for redirecting. Make sure the last link does not have comma after } brace.

If you have any issue, add in comment box.

Enjoy this.

  • Cliff

    Works like a champ!!! Thank you, brilliant, easy, done. I can't speak to the SEO effectiveness of it, because I am a neophyte, but it looks to do exactly what the other folks are recommending elsewhere on the web, except this way is much cleaner and quicker assuming you're not having to redirect more than a few posts.

  • Knedlikova

    Hmmm doesn't work for me…

  • Rajesh

    Great tips, thanks for sharing