Welcome To Snipplr


Everyone's Recent Snippets Tagged redirect



1 2 3 4 Next »
This redirects visitors to a new URL using a 301 redirect. Using a 301 redirect is the safest way to let search engines like Google, Yahoo!, Live and Ask know your address has changed.
0 3397 posted 18 years ago by jonhenshaw
Redirects from one method to another in a controller. This is handy when there's an error, and you need to go back to index page, or for other purposes.
1 1403 posted 18 years ago by wackimonki
7 1932 posted 19 years ago by gdonald
Use to redirect an html page after headers have already been sent. The 5 is the number of seconds before redirect to the URL.
1 1403 posted 19 years ago by pckujawa
redirects a splash page if visited before. Number of days until expiry can be set
0 1348 posted 19 years ago by markhope
Redirect a splash page using javascript. This snippet allows one redirect per session making the backwards navigation possible using the back button.
0 1512 posted 19 years ago by markhope
1 2 3 4 Next »