|
|
|||||||
| Register | FAQ | Calendar | Radio and TV | NP Shop | Search | Today's Posts | Mark Forums Read |
| Adult Webmasters Main Forum Friendly adult web master chat, help and information |
![]() |
![]() |
![]() |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
WARNING! May ask stupid questions...
|
Auto Redirect question...
I know how to programme up a auto redirect page, to a specific page, but is it possible to put in a redirect page that automatically detects browser language configuration and then directs the browser to a language specific page?
The last one I did was back in 2001, and it was in javascript, and for IE and Netscape, but I don't know if there is a newer method out there for the newer browsers that are on the scene. If anyone knows about something then I would really like to know! Thanks for your help. __________________
I would change the world, but they would not give me the source code. |
|
|
|
|
|
#2 (permalink) |
|
Traffic Animal
|
you can set redirects in HTTP header directly
In PHP: header("Location: http://www.example.com/"); __________________
ICQ: 343 896 902 BUY AND SELL TRAFFIC !!! --- Get .com domains for $6.95 !!! Reliable hosting provider - Dreamhost promo codes list |
|
|
|
|
|
#3 (permalink) | |
|
■ Finest Spam Moderator ■
|
Quote:
|
|
|
|
|
|
|
#4 (permalink) | |
|
WARNING! May ask stupid questions...
|
Quote:
As for the redirects, if the site has English and also Spanish for the main two, the redirect page parses the language code on the browser, for example, EN and then opens the specific language pages or load in the specific language to the page contents on the website. It is not GEO targetting, just staying in the same domain. __________________
I would change the world, but they would not give me the source code. |
|
|
|
|
|
|
#5 (permalink) |
|
Its not always sunny on sundays
Join Date: Sep 2007
Location: Belgium
Posts: 349
Points: 435
|
Wikipedia has a very good page on that. Check this
URL redirection - Wikipedia, the free encyclopedia |
|
|
|
|
|
#6 (permalink) |
|
WARNING! May ask stupid questions...
|
What I am thinking is something like this, but it will be a little more complicated (I left the links simple as not to use too much up here), I think, as I would rather have it running under a PHP array, just in case the users do not run Java...
PHP Code:
__________________
I would change the world, but they would not give me the source code. |
|
|
|
|
|
#7 (permalink) |
|
I am a Netpond Virgin
Join Date: Oct 2007
Posts: 9
Points: 45
|
__________________
I need to make a total 10 posts before my sig can be seen, so until then, why not check out Netpond's sponsors |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
![]() |
![]() |