Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do i redirect specific tumblr pages?

I want to redirect "http://iancalimbahin.tumblr.com" to "http://iancalimbahin.tumblr.com/home" every time the page is visited. But when I open other pages such as "/tagged/DigitalArts", "/tagged/photos" and other "/tagged" pages, the page still redirects to "/home". How can I exclude certain pages (/tagged) from being redirected?

like image 973
ian calimbahin Avatar asked Dec 10 '22 08:12

ian calimbahin


1 Answers

Customize your tumblelog and try adding this script:

<script type="text/javascript">
if(location.href == 'http://iancalimbahin.tumblr.com/') location.replace('http://iancalimbahin.tumblr.com/home');;
</script>

Put it right after the <head> tag when you select Custom HTML under Theme.

like image 100
Arvin Avatar answered Dec 29 '22 17:12

Arvin