Thursday 20 August 2015

Redirecting Web Pages

HTML:

<meta http-equiv="refresh" content="0; URL='http://new-website.com'" />

source & other methods: https://css-tricks.com/redirect-web-page/

1 comment:

  1. 301, "Moved Permanently"

    The HTTP response status code 301 Moved Permanently is used for permanent URL redirection, meaning current links or records using the URL that the response is received for should be updated. The 301 response from the Web server should always include an alternative URL to which redirection should occur. If it does, a Web browser will immediately retry the alternative URL. This is the best way to ensure that users and search engines are directed to the correct page. The 301 status code means that a page has permanently moved to a new location.

    ReplyDelete