Welcome To Snipplr


Everyone's Recent Snippets Tagged redirect



0 1416 posted 15 years ago by vigoncas
<input> When used instead of my SharePoint: SaveButton above, the form saved it's data correctly, and the current page that the form was submitted from was reloaded for the user. You could also put any URL in the __redirect={} that yo...
0 1284 posted 15 years ago by rumremix
You must use Google friendly domain redirect in these cases: You changed a domain name for your web page and want the old one to redirect visitors to a new one. You have many domains for your website (one primary and many alternative). You want to...
1 1531 posted 15 years ago by RM
1 1277 posted 15 years ago by phpleo
0 1186 posted 16 years ago by mariusscheel
Hacer una redireccion permanente
0 1190 posted 16 years ago by jrobinsonc
0 1208 posted 16 years ago by joe-bbb
1 1573 posted 16 years ago by chrisdpratt
Sometimes you just need to mask a script or reject a user from a page this can be done effortlessly using a single line of code. Header location will allow you to redirect a user quickly and without them having any control over the action. A good...
1 1398 posted 16 years ago by scopefragger
Just a function for correct redirecting *UPD1* header added for Google Chrome
0 1166 posted 16 years ago by kirik
0 1076 posted 16 years ago by splotchy
Just insert it into your .htaccess file to redirect all your 404 error pages to any address
2 1468 posted 16 years ago by caruso_g
In the content property, the first number is the number of seconds until the refresh, the URL is where the redirect will go.
2 1912 posted 17 years ago by chippper
For database inserts must be made some site on "http://redirect_host:port/.../" with nice getip function: http://snipplr.com/view/10946/
0 1482 posted 17 years ago by paramah
Avoid penalties for duplicate content. Also see <a href="http://sitening.com/blog/htaccess-redirects-to-a-single-hostname/">How to Stay Safe from Duplicate Content by Using .htaccess and 301 Redirects</a>.
2 1693 posted 17 years ago by splotchy
The problem is some times the redirect may kick you off to the next page before all the session variables have been saved. The true solution to lost session vars on redirect is to simply call session_write_close(); before setting the redirect header....
0 2273 posted 17 years ago by Wardy
Tip from rmartin, but I think I've seen it also on some Ubuntu wiki.
0 1297 posted 17 years ago by Juanje
It redirects the url with JS.
0 1331 posted 17 years ago by skywalker
2 1601 posted 17 years ago by iTony
3 1768 posted 18 years ago by gbot
2 1787 posted 18 years ago by smartalec
Parses the given path and creates a http redirect to that page.
1 1745 posted 18 years ago by IanLewis
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.
3 3001 posted 18 years ago by jonhenshaw
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 1620 posted 18 years ago by jonhenshaw
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 2186 posted 18 years ago by jonhenshaw
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 2210 posted 18 years ago by jonhenshaw