{"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 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 See this example of how it is used. Here we use a delay of 5 seconds.<\/p>\n\n\n [html] This text should display for about 5 seconds.<\/p>\n <\/body> As mentioned above, you do not have to exclusively use the HTML Meta Tag to redirect to another site. You can also use a JavaScript of jQuery option<\/a> or even a server-side option such as the PHP<\/a>, Apache configuration, or .htaccess<\/a> methods.<\/p>\n","protected":false},"excerpt":{"rendered":" Ideally, you can use the Meta Tag to redirect an HTML web page to another. This method does not require JavaScript such as this method, neither does it require any…<\/p>\n","protected":false},"author":1,"featured_media":8925,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,23,27,16],"tags":[106,303,320,328,333,452,543,635,636,637,638],"yoast_head":"\nUsing a META Tag to Redirect Your Site<\/h2>\n\n\n\n
\n
\n
\n
\n
\n
\n <\/head>
\n
\n<\/html>
\n[\/html]<\/p>\n\n\n\nConclusion<\/h2>\n\n\n\n