Portal Home > Knowledgebase > Articles Database > Browser Redirect Script
Browser Redirect Script
Posted by ashras99, 03-14-2008, 10:52 AM |
Some Script installed on my website page doesn't work in Safari browser, but works fine in IE, FF, NS, Opera or Mozilla.
Please tell me a script to enter on html page which redirect to specific page if using Safari browser otherwise stay on the same page.
I found the following script, but this doing just opposite of what i am looking
So, please suggest how can i change this to what i am looking..
|
Posted by Form1, 03-14-2008, 12:16 PM |
Remove the !.
Take it easy,
David Berube
|
Posted by ashras99, 03-14-2008, 01:49 PM |
thanks a lot, hope this is fine script and works in old IE and Firefox versions too. Or you will like to recommend any other script.
|
Posted by HSNM, 03-14-2008, 03:14 PM |
You may use HTML to make a simple redirect:
|
Posted by D-Collateral, 03-14-2008, 04:23 PM |
Also, this is a nice way of getting around the http-headers already sent problem with php and includes.
|
Posted by Tim Greer, 03-14-2008, 11:03 PM |
The script should redirect/output a new location, and likely with an error/new location code so the search engines and browsers know. Or, just use a rewrite rule (or use rewrite with a database or flat file and a script if you have a lot of them or want them dynamic or on the fly).
|
Posted by mywwwsite, 08-10-2008, 01:21 AM |
If you need a list of the useragents, try this site http://dotdoh.com/?p=32
|
Add to Favourites Print this Article
Also Read