To redirect from a page or post to another site or page add this code to that page.
<script type='text/javascript'>
var d='<data:blog.url/>';
d=d.replace(/.*\/\/[^\/]*/, '');
location.href = 'http://www.techdio.com';
</script>
Change http://www.techdio.com to the link you want to redirect to.
To redirect a Blog/Site to another page or Website follow these steps.
Step 1: Go to Blogger Dashboard > Template and click on Edit HTML.
Step 2: Search for <head> tag using Ctrl + F.
Step 3: Paste the code below <head> tag.
<script type='text/javascript'>
var d='<data:blog.url/>';
d=d.replace(/.*\/\/[^\/]*/, '');
location.href = 'http://www.techdio.com';
</script>
var d='<data:blog.url/>';
d=d.replace(/.*\/\/[^\/]*/, '');
location.href = 'http://www.techdio.com';
</script>
Change http://www.techdio.com to the link you want to redirect to.
Now your whole website, including all links will be redirected to the given address. :)
No comments