How To Redirect Blog / Website To New Website Address - Redirect URL - Auto Redirect

How To Redirect Blog / Website To New Website Address - Redirect URL - Auto Redirect

Ways To Redirect Blog / Website To New Website Address - Redirect URL - Auto Redirect: redirect URL to another, my blog redirects to another site. Redirect Blog / Website To New Website Address - Redirect URL - Auto Redirect.

How To Redirect Blog / Website To New Website Address - Redirect URL - Auto Redirect


How To Redirect Blog / Website To New Website Address - Redirect URL - Auto Redirect Guide

Method 1:

Redirect by writing the domain name directly on the old website to let users know that they have moved to the new site

Method 2:

Use the HTML's meta tag:

<meta http-equiv="refresh" content="5;url=https://icthack.com/"/>

Change Url to redirect and add before </head> tag in html (Content=" 5 is after 5 seconds it will redirect)

Method 3: 

Using Javascript's Timeout mechanism: Use on the website platform

<html>
<head>
<script type="text/javascript">
function delayer(){
    window.location = "https://icthack.com"
}
</script>
</head>
<body onLoad="setTimeout('delayer()', 15000)">
<h2>Prepare to be redirected after 15 second(s)!</h2>
</body>
</html> 
This will slow down the site a bit but it's recommended because it's better than using meta.

Method 4:

Use Auto Redirect template: Use on any platform

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html b:version='2' class='v2' expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='https://www.google.com/2005/gml/b' xmlns:data='https://www.google.com/2005/gml/data' xmlns:expr='https://www.google.com/2005/gml/expr'>
<head>
<script type="text/javascript">
var time = 5; //How long (in seconds) to countdown
var page = "https://icthack.com/"; //The page to redirect to
function countDown(){
time--;
gett("container").innerHTML = time;
if(time == -1){
window.location = page;
}
}
function gett(id){
if(document.getElementById) return document.getElementById(id);
if(document.all) return document.all.id;
if(document.layers) return document.layers.id;
if(window.opera) return window.opera.id;
}
function init(){
if(gett('container')){
setInterval(countDown, 1000);
gett("container").innerHTML = time;
}
else{
setTimeout(init, 50);
}
}
document.onload = init();
</script>
<meta content='IE=EmulateIE7' http-equiv='X-UA-Compatible'/>
<b:if cond='data:blog.isMobile'>
<meta content='width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0' name='viewport'/>
<b:else/>
<meta content='width=1100' name='viewport'/>
</b:if>
<b:include data='blog' name='all-head-content'/>
<title><data:blog.pageTitle/></title>
<b:skin><![CDATA[
]]></b:skin>
</head>
<body>
<center><h1> Redirect icthack</h1></center>
<h2>redirect later <span id="container"></span> second(s)!</h2>
<div style='margin-top:300px; '>
<center>
<p class='author'>&#169; <b>Copyright by </b><a href='https://icthack.com/'> icthack </a></p>
</center>
</div>
<b:section class='navbar' id='navbar' maxwidgets='1' showaddelement='no'/>
</body>
</html>
Just fix  https://icthack.com/  to Url to redirect and run!

Method 5:

This way is simple, effective, recommended: You just need to copy the Javascript below and paste it before the </body> tag and you're done!

<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js' type='text/javascript'/>
<script>
function Redirect()
{
var currentURL = window.location.href;
var url = currentURL .replace(&quot;icthackblog.blogspot.com&quot;,&quot;icthack.com&quot;);
window.location=url;
}
$(document).ready(function(){
var currentURL = window.location.href;
var url = currentURL .replace(&quot;icthackblog.blogspot.com&quot;,&quot;icthack.com&quot;);
$("").html("");
 setTimeout('Redirect()', 1);
});
</script>
Just fix  icthack.com  to Url to redirect and run!

Above are 5 ways to redirect blogs/websites that I code and collect. Hope it is useful to you. If you have any questions or complaints about copyright, please comment below! Have a good day studying and working!

What is a URL Redirect?

A URL redirect is a way to remap a web page address. It’s quite similar to how the post office handles a change of address. You send your new address to the post office. Whenever someone sends you mail, the post office forwards the mail to the new address and lets the sender know of the new address.

The same thing happens on the web. The information is still there but on a new page. A URL redirect tells search engine web crawlers where that information has now been placed.

Forwarding Multiple Domains

Many businesses buy several domain names similar to what they already own, to prevent competitors from “stealing” their name or brand. A redirect allows them to direct all searches to a single authority website.

Redirects are Useful Tools When Moving to a New Domain

Moving a site to a new domain may be necessary after a business has been purchased by a larger entity that wants to integrate it into its own website. Or, a business may have changed hands or rebranded, and a fresh new look is needed. This might include a new business name.
Newer Posts Older Posts

You may like These Posts