How To Redirect A URL To Another URL In Blogger

SHARE
URLs RedirectionNow you can have the power of redirecting your existing blogger URLs to another URL means you can redirect any URL of your blog to any new URL whether inside your blog or to outside/external links. This technique will work like as an URL 301 Redirect/shortner or URL cloaking in WordPress. We will be using a simple HTML code to redirect the URLs of our blog to any other specific URLs of your choice. Now you may be thinking that what is the benefit of it to you? The answer is very simple:-


  • You can hide your affiliate links behind your own blog URLs.
  • You can redirect any blogger URL to any other URL.
  • In place of long and odd URLs, you can create short and simple URLs.
So isn't it beneficial to you? If you are promoting any affiliate products on your blog then this technique is extremely useful to you because most of the readers/visitors do not click links when they see long and odd affiliate URLs. Instead of letting them see the original URLs before clicking, just hide them with simple and smooth URLs of your own blog URLs.

How To Create A URL Redirect To Another URL In Bogger- 301

To redirect a URL to another URL, you need to create a New Blank Page and do not create a new post because if you create a new post then it will appear in your published posts. If you are using a custom template with the custom navigation bar then your New Blank Page will not appear as it is hidden because you have your custom navigation bar and pages are hidden. So by now you will have a new page with link address ready to be redirected for e.g., Demo link is → http://zindex-999.blogspot.in/p/hug-me.html which redirects to my this post.
Now without any delay just get into action. Go to Blogger→Template→Edit Template→ Backup Your Template Before Editing.
Now Search For ]]></b:skin> and copy paste the code given below after this ]]></b:skin> code line
(Note: - Click inside template code and use Ctrl+f in Windows or Cmd+f in Mac to search the code in template easily)
<!--TB 301 Redirect-->
<b:if cond='data:blog.url == &quot;http://zindex-999.blogspot.com/p/hug-me.html&quot;'>
<meta content='0;url=http://twistblogger.com' http-equiv='refresh'/>
</b:if>
Important Note: -  This is the only piece of code you need to copy paste and you are done. You need to edit the above code to make it work for you so replace the http://zindex-999.blogspot.com/p/hug-me.html with the URL of your New Blank Page you created earlier. Then replace the http://www.twistblogger.com with any Url of your wish where you want to make a redirect. It can be an affiliate link or any other link, internal or external.

This way the visitors will not know the exact URL behind it until they visit it so this is the good trick to hide your main URL.

Now add your redirected URL to custom robots.txt file to Disallow the redirected link so that search engines will not index and rank this URL (For Safe SEO). Also while sharing/adding this URL in your post, add rel='nofollow' attribute to it. The example about how to add the link to custom robots.text file. Go to Blogger→Settings→Search Preferences→Custom Robots.text. Now click on Edit link then Yes and enter the following code. Do not forget to change the link /p/hug-me.html to your own Blog's Redirected URL.
User-agent: *
Disallow: /search
Disallow: /p/hug-me.html
Allow: /
PS: This redirect will not work if you will use the old deleted URL of your blog or any URL which does not exist on your blog as redirecting URL. If you want to make redirects from your old deleted posts to your homepage or to any other new posts then go to Blogger→Settings→Search Preferences→Custom Redirects. Now click on edit then follow the instructions as shown in the image.

Blogger Custom Redirects

As shown in the image, you only need to enter the links after http://www.yourdomain.com means if you had deleted a post with URL http:www.yourdomain.com/2012/01/Deleted-Post.html then you need to enter link /2012/01/Deleted-Post.html only not the full URL. I hope you got it but if anything creating any problem then do not hesitate to ask in the comments. We will serve you best. Thank You.
Author

Article By: Satbir Patial

I manage this blog and post tutorials related to Blogger, SEO, Plugins, Widgets, Software Tools, CSS/HTML and Social Media. Did you find this blog helpful? Would You Please Socialize? Thanks for Your Support Buddy :)


Stay connected, You'll not be disappointed!

9 Replies so far - Join Conversation

  1. Replies
    1. Sahil Goyal:: Hello Buddy. Not working? It works 100% but you're not able to make it work for you so just hit me back :) and I'll handle it for you. Let me know what you have tried and where you got stuck. I'll do my best.

      Delete
  2. Replies
    1. Muhammad Naveed:: Of-course, it is indeed a good trick to hide our external URLs with own blog links. :)

      Delete
  3. nice trick bro. its happen in blogger its good for all bloggers

    ReplyDelete
  4. thank you so much, its working!

    ReplyDelete
  5. Really nice post.. thanx for this trick

    ReplyDelete
  6. Dear author, Kindly tell me side effect of redirection.

    ReplyDelete
  7. I have an issue on my blog.
    I added an image gadget and input the link I want it to redirect to once the image is clicked.
    it keeps redirecting back to by blog and I don't know what to do.
    please check my blog and click on any of the banners on top to see what I mean. harpng.com.

    kindly reply please. its urgent.

    ReplyDelete