If you need to redirect your visitors to a new page, this HTML redirect code may be just what you’re looking for.
When designing a website, many times you must change the location of a webpage. However, if the page is popular, your visitors may have already linked to it. In addition, the Search Engines have most-likely already indexed the page.
For this reason, it is best to replace your page with a new page that will redirect your visitors to the new page. This provides a great way to provide your visitors with the information they were looking for and prevent you from losing your traffic.
However, when using this HTML redirect code, please ensure that you don’t use it to trick the Search Engines, as this could get your website banned. It is always best to work hard and learn quality ways in which to drive traffic to your website.
Place the following HTML redirect code between theand </head> tags of your HTML code.
HTML Redirect Code
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com/index.html">
The above HTML redirect code will redirect your visitors to another webpage instantly. The content=”0; may be changed to the number of seconds you want the browser to wait before redirecting.
Change the web address to the URL your visitors should be redirected.
This concludes the HTML Redirect code.
Visit the following pages for a wealth of copy and paste codes and tips:
Copy and paste special effect HTML codes for your web page.
An HTML codes chart you can use to copy and paste codes into your web page.
HTML Color Codes
An HTML color codes chart you can use to copy and paste color codes into your web page.
Web Design Tips
Tips, tricks, and special effect codes for your web page.
A list of HTML tags.
HTML 5 Tags
A list of the latest HTML tags to be developed.
Special text characters and code for your web page.