Friday 12 February 2016

HTML / ASP.NET / Javascript - 301 Redirect

There are multiple ways to implement a 301 Redirect on a webpage.
Below are methods to do redirection as soon as the page gets the visit using HTML Meta tag, ASP.NET and Javascript.
The most preferred way is ASP.NET than HTML Meta tag and Javascript as it is the most compatible option.

The above sample will redirect user to http://yahoo.com as soon as he reaches this page.

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete