{"id":8918,"date":"2020-08-08T03:07:08","date_gmt":"2020-08-08T07:07:08","guid":{"rendered":"http:\/\/local.brightwhiz\/?p=8918"},"modified":"2020-08-08T03:07:08","modified_gmt":"2020-08-08T07:07:08","slug":"meta-tag-redirect-html-page","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/meta-tag-redirect-html-page\/","title":{"rendered":"How to Use The Meta Tag to Redirect an HTML Page"},"content":{"rendered":"\n

Ideally, you can use the Meta Tag to redirect an HTML<\/a> web page to another. This method does not require JavaScript<\/a> such as this method<\/a>, neither does it require any server redirects as shown here using .htaccess<\/a>.<\/p>\n\n\n\n

Web<\/a> page redirection is where you clicked a URL, or typed in a URL in your web browser to reach a particular page or website but instead, you are directed to another page or site. This is a feature built into web browsers by design.<\/p>\n\n\n\n

Common use-cases for using the Meta Tag to redirect to another page is where the old page still exists but you could be running a temporary campaign and want to redirect users there.<\/p>\n\n\n\n

Another good use of this method is in situations where you have a change of domain name and want visitors familiar with the old domain to be redirected to the new one automatically.<\/p>\n\n\n\n

You may also want to use this Meta Tag method when you want to delay the redirect for some particular reason.<\/p>\n\n\n\n

This method is not ideal for situations where the old page no longer exists. To implement these sorts of redirects you would have to use a server-side solution.<\/p>\n\n\n\n

Using a META Tag to Redirect Your Site<\/h2>\n\n\n\n

To use a META Tag to redirect your site can quite easily be done using the HTTP-Equiv attribute to provide an HTTP header for the value of the content attribute.<\/p>\n\n\n\n

All you need to do is supply the destination URL or page and optionally the delay in seconds. Leaving out the seconds implies an immediate redirect.<\/p>\n\n\n\n