Redirect based on referrer domain in blogger blog using JavaScript

I have 3 blogger blog with domain looks like

example1.blogspot.com 
example2.blogspot.com 
example3.blogspot.com

If someone clicks any of the links below from a particular site (example, google.com) they should not face any redirect but when they access the link from anywhere in the web they should be redirected to example.com/alllinks . There wont be a single permalink match between 3 blogs.

example1.blogspot.com 
example2.blogspot.com 
example3.blogspot.com
example1.blogspot.com/alllinks1 
example2.blogspot.com/alllinks2 
example3.blogspot.com/alllinks3

For Example, user from anywhere except google.com

example1.blogspot.com to example.com/page1
example2.blogspot.com to example.com/page2
example3.blogspot.com to example.com/page3
example1.blogspot.com/alllinks1 to example.com/alllinks1
example2.blogspot.com/alllinks2 to example.com/alllinks2
example3.blogspot.com/alllinks3 to example.com/alllinks3

user referred from google.com

example1.blogspot.com (noredirect)
example2.blogspot.com (noredirect)
example3.blogspot.com (noredirect)
example1.blogspot.com/alllinks1 (noredirect)
example2.blogspot.com/alllinks2 (noredirect)
example3.blogspot.com/alllinks3 (noredirect)

Since the blogs are blogspot blog i dont have access to .htaccess and have no option like wordpress plugins. So is it possible to achieve the above in blogger blog? Thanks in advance.

You can also answer on

http://stackoverflow.com/questions/30109055/301-redirect-based-on-referrer-domain-in-blogger-blog-using-javascript-redirect

can anyone help please?

What are you going to do regarding the growing number of people who block the referrer header for privacy reasons?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.