Find Affordable Web Hosting Providers - Tophosts.com

Go Back   Web Hosting Forum - Webhosting Discussions at TopHosts.Com > Web Hosting Forum
User Name
Password



Reply
 
Thread Tools Display Modes
Old 10-21-2009, 09:55 AM   #1
walterburke
Junior Hoster
 
Join Date: Oct 2009
Posts: 5
walterburke is on a distinguished road
Default How to redirect a person to a other server based on there location to make the websit

Hi !


You can set up a web page to inform any browser which happens to load it that there is another web page it should go to instead, after an optional delay.

This is accomplished using a "refresh" meta command in the header section

<head>
.
.
</head>


of your HTML file, along with the title and any "keywords" or other meta commands.
Syntax
The syntax for the "refresh" meta command is

<meta http-equiv="refresh" content="N; URL=other-web-address">

where N is the approximate number of seconds that you want the current web page to be displayed before the browser automatically goes to the other web address. If N = 0, then the browser should go immediately to the other web address.
Netiquette tip
In case someone's browser doesn't handle these automatic redirects (most browsers do handle them, but some allow them to be turned off, as a way of discouraging "web spam", which often uses this type of "refresh" redirect), you may want to provide a second route to the intended destination by way of a standard link (see the example, below).
Example

<html>
<head>
<title>A web page that points a browser to a different page after 2 seconds</title>
<meta http-equiv="refresh" content="2; URL=http://www.yourwebpage.com/page.htm"…
<meta name="keywords" content="automatic redirection">
</head>
<body>
If your browser doesn't automatically go there within a few seconds,
you may want to go to
<a href="http://www.yourwebpage.com/page.ht… destination</a>
manually.
</body>
</html>
__________________
IT Outsourcing
walterburke is offline   Reply With Quote
Old 10-21-2009, 11:02 AM   #2
rizwan007
Junior Hoster
 
Join Date: Oct 2009
Posts: 16
rizwan007 is on a distinguished road
Default Re: How to redirect a person to a other server based on there location to make the we

that was an informative one.
rizwan007 is offline   Reply With Quote
Old 12-26-2009, 04:38 AM   #3
charles
Junior Hoster
 
Join Date: Dec 2009
Location: UK
Posts: 11
charles is on a distinguished road
Default Re: How to redirect a person to a other server based on there location to make the we

Hi, I really wanted to know how to redirect a person to another server based on their location to make the website. Thanks for sharing, i really appreciate the efforts.

Charles
__________________
vps
charles is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


» Links
   web hosting
   chromebook forum
   chicago webhosting
   webmaster forums
   merchant select

» Links


All times are GMT -4. The time now is 06:23 AM.
Powered by vBulletin Version 3.6.8
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 2.4.0