Saturday, July 14, 2012

HTML to redirect website/ blog

Redirect htmlRedirection is process where url of a website/ blog is redirected to another website/ blog. sometimes, website owners and blogger change their domain. To keep visitors of past domain, website owners and bloggers have to redirect their past domain to new one.
For example, if you have a blog of which domain is www.pastdomain.co and you redirect that blog to www.presentdomain.com. Then when visitors shall attempt to visit www.pastdomain.com, they will automatically be redirected to www.presentdomain.com. And they shall see your present website.
To redirect your web address you have to add HTML code to the website of past domain that is www.pastdomain.com. The html for redirection is

<meta HTTP-EQUIV="refresh" content="0; url=http://www.presentdomain.com"/>
Just put the code immediately after <head> or before </head>. And replace "www.ustad.com" for your website URL. Here, 0 tells the browser second to wait for redirection. You may change it.

No comments:

Post a Comment