Redirect old page to new page HTML

This question already has an answer here:

  • Redirect from an HTML page 25 answers

  • Try this for HTML5

    <meta http-equiv="refresh" content="0" url="http://www.yourdomain.com/newindex.html">
    

    I see below it says "Use 301 redirects if you are willing to use server-side. Meta tags, as described in the other answer, are best for client-side."

    Any redirect done in the code or on a server is called server-side. When we make a change in Firefox or Chrome or any browser that changes the way an end-user interacts with the web it is called client-side.


    Use 301 redirects if you are willing to use server-side. Meta tags, as described in the other answer, are best for client-side.

    链接地址: http://www.djcxy.com/p/15714.html

    上一篇: 如何立即(自动)链接到另一页

    下一篇: 将旧页面重定向到新页面HTML