Search Suggest

How To Redirect A URL To Another URL In Blogger

Create URL Redirection In Blogger To Any Other URL. You can Cloak URLs in Blogger With Simple Html Code. Step By Step Tutorial.
How To Redirect A URL To Another URL In Blogger
Now 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.

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
 
<!--TB 301 Redirect-->  
<b:if cond='data:blog.url == &quot;https://www.twistblogg.com/p/sitemap.html&quot;'>   
<meta content='0;url=https://www.twistblogg.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 https://www.twistblogg.com/p/sitemap.html with the URL of your New Blank Page you created earlier.  
 
Then replace the https://www.twistblogg.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.

User-agent: *
Disallow: /search
Disallow: /p/sitemap.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.
4.94 / 169 rates

Loved what you read?

Sign up for The Best Bits. Opt-out any time.
We do not spam!

Not into email list things, but still want to read more?
Follow us on Twitter

20 comments

  1. Not working
    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.
    2. Sahil Goyal भाई :)
      मुझे लगता है आप .com की जगह में .in लगा रहे हो !
  2. good trick
    1. Muhammad Naveed:: Of-course, it is indeed a good trick to hide our external URLs with own blog links. :)
  3. nice trick bro. its happen in blogger its good for all bloggers
  4. thank you so much, its working!
  5. Really nice post.. thanx for this trick
  6. Dear author, Kindly tell me side effect of redirection.
  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.
  8. I will try it ,
    hope work
  9. Very well explained post. Nice to have you back on TB. Thanks Satbir :)
    1. Hi Vipin, I was just checking the old posts and then updated the Published date from older to new 2017. After that feedburner just sent it again to my reader and I am already seeing many subscribers have unsubscribed :D

      Nothing new to publish :(
  10. Welcome back Satbir. :)
    1. Thanks Rohan :)
      I had Just updated the published date (experiment) of old post (published in 2015) to new and feedburner just sent it as new post to subscribers. I didn't know it would happen.

      happy to see you on my blog <3
  11. please im having an issue with my blog, i used one of your code in my blog, now every link in my blog is showing advertisement.(Not this particular code) have forgotten the actuall code, pls check my blog link http://healthmush.blogspot.com and see if you can tell me the solution to remove the particular code.. thanks
  12. A redirect is when a web page is visited at a certain URL, it changes to a different URL. For instance, a person visits "website.com/page-a" in their browser and they are redirected to "website.com/page-b" instead. This is very useful if we want to redirect a certain page to a new location, change the URL structure of a site, remove the "www." portion of the URL, or even redirect users to another website entirely (just to name a few).

    Let's say we've just moved our website and we want to shut down the old one. However we don't want all those pages from the old site to give a dreaded 404 Not Found. What we need is for those old links to redirect to the same content on our new site.
  13. Not worked
  14. Thats really working for me..
    thanks a lot
  15. nice article here thanks. commenting from Damytechs.com