Redirect from an HTML page


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.


<html lang="en-US">

<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"
        
Page Redirection



If you are not redirected automatically, follow the
<a href='http://360digiworld.com/digital-marketing.html'>link to example
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.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s