We can use both meta, and JavaScript code and would have a link just in case. Also, I think it is a good idea to set the meta rate to 1 for occasional circumstances where the browser ignores 0 value meta refresh.
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1;url=http://360digiworld.com/digital-marketing.html">
<script type="text/javascript">
window.location.href = "http://360digiworld.com/
digital-marketing.html"
</script>
<title>Page Redirection</title>
</head>
<body>
<!-- Note: don't tell people to `click` the link, just tell them that it is a link. -->
If you are not redirected automatically, follow the <a href='http://360digiworld.com/digital-marketing.html'>link to example</a> </body>
</html>
For completeness, I think the best way, if possible, is to use server redirects, so send a 301 in the header. This is easy to do via .htaccess
files using Apache, or via numerous plugins using WordPress. I am sure there are also plugins for all the major content management systems. Also, cPanel has very easy configuration for 301 redirects if you have that installed on your server.
0 comments:
Post a Comment