Go Back   Netpond ™ > Webmaster Forums and Resources > Adult Webmasters Main Forum
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

Orgy, Pissing, Shemale
Leased Content PussyCash Reality, College
Reply
 
LinkBack Thread Tools Display Modes
Old 04-29-2008, 05:17 AM   #1 (permalink)
MountainGoat
WARNING! May ask stupid questions...
 
MountainGoat's Avatar
 
Join Date: Feb 2008
Location: Catalan Pyrenees...
Posts: 560
Points: 1,010
Send a message via MSN to MountainGoat Send a message via Skype™ to MountainGoat
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.
MountainGoat is offline   Reply With Quote Send a private message to MountainGoat
Old 04-29-2008, 06:13 AM   #2 (permalink)
Donkey
Traffic Animal
 
Donkey's Avatar
 
Join Date: Jun 2004
Location: CZ, Prague
Posts: 10,205
Points: 460
Send a message via ICQ to Donkey
you can set redirects in HTTP header directly

In PHP:

header("Location: http://www.example.com/");
Donkey is online now   Reply With Quote Send a private message to Donkey
Old 04-29-2008, 06:19 AM   #3 (permalink)
seeandsee
■ Finest Spam Moderator ■
 
seeandsee's Avatar
 
Join Date: Jul 2005
Location: ~ SEE SIG ~
Posts: 14,097
Points: 146
Send a message via ICQ to seeandsee
Quote:
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?
Do you want redirection just based on browser language or some 'fancy' 'geo redirecting'?
seeandsee is online now   Reply With Quote Send a private message to seeandsee
Old 04-29-2008, 08:09 AM   #4 (permalink)
MountainGoat
WARNING! May ask stupid questions...
 
MountainGoat's Avatar
 
Join Date: Feb 2008
Location: Catalan Pyrenees...
Posts: 560
Points: 1,010
Send a message via MSN to MountainGoat Send a message via Skype™ to MountainGoat
Quote:
Originally Posted by seeandsee View Post
Do you want redirection just based on browser language or some 'fancy' 'geo redirecting'?
Just by browser language, the script I did back in 2001 did the browser redirecting by java, however, I am feeling that in the days that have passed since then, there would be something better about that does not require seperate programming sections for specific browser, whereas this one was for IE and Netscape programmed in two seperate sections.

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.
MountainGoat is offline   Reply With Quote Send a private message to MountainGoat
Old 04-29-2008, 09:54 AM   #5 (permalink)
Gasta
Its not always sunny on sundays
 
Gasta's Avatar
 
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
Gasta is offline   Reply With Quote Send a private message to Gasta
Old 04-29-2008, 10:34 AM   #6 (permalink)
MountainGoat
WARNING! May ask stupid questions...
 
MountainGoat's Avatar
 
Join Date: Feb 2008
Location: Catalan Pyrenees...
Posts: 560
Points: 1,010
Send a message via MSN to MountainGoat Send a message via Skype™ to MountainGoat
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:
script>
if (
language.indexOf('en') > -1document.location.href 'English.html';
else if (
language.indexOf('es') > -1document.location.href 'Spanish.html';
else if (
language.indexOf('ca') > -1document.location.href 'Catalan.html';
else
document.location.href 'English.html';
</ 
script
I'm going to give this a test this evening on the testing server, and the office grid, but am still digging around for a PHP script or a .htaccess that does similar, as this code was something that was written way back in 2001.
__________________
I would change the world, but they would not give me the source code.
MountainGoat is offline   Reply With Quote Send a private message to MountainGoat
Old 04-30-2008, 12:04 AM   #7 (permalink)
Aka_Bluey
I am a Netpond Virgin
 
Join Date: Oct 2007
Posts: 9
Points: 45
Could this help?

PHP, redirect
redirect traffic based on language

B.
__________________
I need to make a total 10 posts before my sig can be seen, so until then, why not check out Netpond's sponsors
Aka_Bluey is offline   Reply With Quote Send a private message to Aka_Bluey
Old 04-30-2008, 03:01 AM   #8 (permalink)
MountainGoat
WARNING! May ask stupid questions...
 
MountainGoat's Avatar
 
Join Date: Feb 2008
Location: Catalan Pyrenees...
Posts: 560
Points: 1,010
Send a message via MSN to MountainGoat Send a message via Skype™ to MountainGoat
Quote:
Originally Posted by Aka_Bluey View Post
Could this help?

PHP, redirect
redirect traffic based on language

B.
That is similar to what I came up with in PHP last night! Thanks for the link, though, it is very much appreciated!
__________________
I would change the world, but they would not give me the source code.
MountainGoat is offline   Reply With Quote Send a private message to MountainGoat
Reply


Thread Tools
Display Modes



Netpond Resources
Resource Directory Tutorials & Articles Webmaster Tools Netpond News
 
Netpond Resources
LoveDollars WildCash PussyCash SilverCash
Fetish Hits Cyberwurx Platinum Bucks Python
AEBN GroobyBucks Score-Cash XMoney
Rabbits Reviews CraziesCash TrafficCashGold EvilAngelCash
Orgycash BigClicks Webcams TubeClicks
Free Porn Paradise British Porno British Porn Models ShanesworldCash
Anal, Ethnic, Pornstar, Shemale Megasite, Gay, Shemale, Fetish
All times are GMT -4. The time now is 06:18 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
vBCredits v1.4 Copyright ©2007, PixelFX Studios