Saturday, January 19, 2019

HTML Redirect Blog URLs to another page

HTML Redirect Blog URLs to another page made simple through this tutorial. HTML redirect can be used to solve many complex problems for an existing url. For friends who want to create a new site but do not want to lose visitors from the old site, you can add How to Redirect Blog URLs to Some Other Sites on your old site.

HTML Redirect Blog URLs to another page is also useful when visitor is not giving you bounce then code will automatically does it for you.HTML Redirect Blog URLs to another page


The working method of redirecting blog URLs to another page is almost the same as how to redirect page not found to other pages. But the difference is, here you can add another page links and will automatically switch to sites that have been randomly assigned. The method is quite easy, let's follow the tips below.

HTML Redirect Blog URLs to another page


Open the Blogger page > Click the Themes menu > click the Edit HTML button > Add the following code before /body
<script type='text/javascript'>
//<![CDATA[
(function(){
setInterval(function(){
var redSites = [
  "https://situs_baru1.blogspot.com",
  "https://situs_baru2.blogspot.com",
  "https://situs_baru3.blogspot.com",
  "https://situs_baru4.blogspot.com",
  "https://situs_baru5.blogspot.com"
];
var randomLinks = redSites[Math.floor(Math.random()*redSites.length)];
window.location = randomLinks
},9000)
}())
//]]>
</script>
Pay attention to the marked code, change the URL of the site with your site. You can also reduce or add the site URL in the code as needed and for the number 9000 (9 seconds) shows the time taken when switching to another site. After editing, click the Save theme button and finish.
    For example, you can check the Result button below
  • DEMO
Well, here is complete tutorial against how to Redirect Blog URLs to another page and here is the Source of this tutorial. Thank you for paying your visit and greetings.

I’m selfish, impatient and a little insecure. I make mistakes, I am out of control and at many times hard to handle. But if you can’t handle me at my worst, then i'm sure as hell that you don’t deserve me at my best.


EmoticonEmoticon