Welcome to droidnur123 Good Idea For those of you who want to create a new site but don't want to lose visitors from the old site, you can add "How to Redirect Blog URLs to Several Other Sites on your old site."
The workings of Redirecting Blog URLs to Several Other Sites is almost the same as How to Redirect Page Not Found to Other Pages or Home Page. But the difference is, here you can add some site links and it will automatically switch to a randomly selected site. How to? The method is quite easy, let's follow the quick tips below.
How to Redirect Blog URL to Several Other Sites?
As Usual Open the Blogger page > Click the Theme menu and click the Edit HTML button next to customize > Add the following code before </body> tag
<script type='text/javascript'>
//<![CDATA[
(function(){
setInterval(function(){
var redSites = [
"https://dntech4u.blogspot.com/",
"https://dntech4u.blogspot.com/",
"https://dntech4u.blogspot.com/",
"https://dntech4u.blogspot.com/",
"https://dntech4u.blogspot.com/"
];
var randomLinks = redSites[Math.floor(Math.random()*redSites.length)];
window.location = randomLinks
},9000)
}())
//]]>
</script>
Please Pay attention to the marked code, replace the site URL with your site. You can also reduce or add site URLs in the code as needed and for the number 9000 (9 seconds) it shows the time it takes to switch to another site.
Once edited done please click on the Save theme button and done.
Well, that's it for "How to Redirect Blog URLs to Some Other Sites." Thank you for visiting.