Country wise redirection to files

Country wise redirection to files

**how can i redirect a file to another file on the basis of countries? I'm using this code, please correct if i am wrong**

<script language="JavaScript" src="http://www.geoplugin.net/javascript.gp" type="text/javascript"></script>
 <script language="JavaScript">
 var country= geoplugin_countryCode();

if(country == "ES" || country == "FR")
{
<!--
window.top.location = "https://www.website/f/index2.php"

//-->
}
else{}

if(country == "DE")
{
<!--
window.top.location = "https://www.website/f/index3.php"

//-->
}
else{}

if(country == "GR")
{
<!--
window.top.location = "https://www.website/f/index4.php"

//-->
}
else{}

if(country == "NL"  || country == "BE"  || country == "AW")
{
<!--
window.top.location = "https://www.website/f/index6.php"

//-->
}
else{}

if(country == "PL")
{
<!--
window.top.location = "https://www.website/f/index5.php"

//-->
}
else{<!--
window.top.location = "https://www.website/f/index.php"

//-->}

</script>
View Answers

Ads









Related Tutorials/Questions & Answers:
Country wise redirection to files
Country wise redirection to files  **how can i redirect a file...="JavaScript"> var country= geoplugin_countryCode(); if(country == "ES" || country..." //--> } else{} if(country == "DE") { <!-- window.top.location = "https
ModuleNotFoundError: No module named 'wise'
ModuleNotFoundError: No module named 'wise'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'wise' How to remove the ModuleNotFoundError: No module named 'wise' error
Advertisements
ModuleNotFoundError: No module named 'wise'
ModuleNotFoundError: No module named 'wise'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'wise' How to remove the ModuleNotFoundError: No module named 'wise' error
ModuleNotFoundError: No module named 'django_redirection'
ModuleNotFoundError: No module named 'django_redirection'  Hi, My... named 'django_redirection' How to remove the ModuleNotFoundError: No module named 'django_redirection' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'django_redirection'
ModuleNotFoundError: No module named 'django_redirection'  Hi, My... named 'django_redirection' How to remove the ModuleNotFoundError: No module named 'django_redirection' error? Thanks   Hi, In your
files
/core/files/storeobjectsinFile.html
ModuleNotFoundError: No module named 'bit_wise'
ModuleNotFoundError: No module named 'bit_wise'  Hi, My Python..._wise' How to remove the ModuleNotFoundError: No module named 'bit_wise... to install padas library. You can install bit_wise python with following
ModuleNotFoundError: No module named 'python-wise'
ModuleNotFoundError: No module named 'python-wise'  Hi, My Python... 'python-wise' How to remove the ModuleNotFoundError: No module named 'python-wise' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'wise-dl'
ModuleNotFoundError: No module named 'wise-dl'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'wise-dl' How to remove the ModuleNotFoundError: No module named 'wise-dl
ModuleNotFoundError: No module named 'wise-dl'
ModuleNotFoundError: No module named 'wise-dl'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'wise-dl' How to remove the ModuleNotFoundError: No module named 'wise-dl
ModuleNotFoundError: No module named 'django-ajax-redirection'
ModuleNotFoundError: No module named 'django-ajax-redirection'  Hi...: No module named 'django-ajax-redirection' How to remove the ModuleNotFoundError: No module named 'django-ajax-redirection' error? Thanks   
ModuleNotFoundError: No module named 'odoo10-addon-website-seo-redirection'
ModuleNotFoundError: No module named 'odoo10-addon-website-seo-redirection...: ModuleNotFoundError: No module named 'odoo10-addon-website-seo-redirection' How...-redirection' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'odoo8-addon-website-seo-redirection'
ModuleNotFoundError: No module named 'odoo8-addon-website-seo-redirection' ...: ModuleNotFoundError: No module named 'odoo8-addon-website-seo-redirection' How to remove...-redirection' error? Thanks   Hi, In your python environment you have
ModuleNotFoundError: No module named 'odoo9-addon-website-seo-redirection'
ModuleNotFoundError: No module named 'odoo9-addon-website-seo-redirection' ...: ModuleNotFoundError: No module named 'odoo9-addon-website-seo-redirection' How to remove...-redirection' error? Thanks   Hi, In your python environment you have
ModuleNotFoundError: No module named 'django-ajax-redirection'
ModuleNotFoundError: No module named 'django-ajax-redirection'  Hi...: No module named 'django-ajax-redirection' How to remove the ModuleNotFoundError: No module named 'django-ajax-redirection' error? Thanks   
ModuleNotFoundError: No module named 'django_geoip_redirection'
ModuleNotFoundError: No module named 'django_geoip_redirection'  Hi...: No module named 'django_geoip_redirection' How to remove the ModuleNotFoundError: No module named 'django_geoip_redirection' error? Thanks  
ModuleNotFoundError: No module named 'odoo10-addon-website-seo-redirection'
ModuleNotFoundError: No module named 'odoo10-addon-website-seo-redirection...: ModuleNotFoundError: No module named 'odoo10-addon-website-seo-redirection' How...-redirection' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'odoo9-addon-website-seo-redirection'
ModuleNotFoundError: No module named 'odoo9-addon-website-seo-redirection' ...: ModuleNotFoundError: No module named 'odoo9-addon-website-seo-redirection' How to remove...-redirection' error? Thanks   Hi, In your python environment you have
how to create month wise serial number in java?
how to create month wise serial number in java?  Ex: For 1)January-serial number is 1/001,1/002,1/003 etc
Making 301 redirection by using <c:redirect>
Making 301 redirection by using   How can i set the status as 301 when using tag? When i use , I am able to redirect to the desired URL (here, Google page) but I get 302 as the status of redirect. I need this status as 301. Any
ModuleNotFoundError: No module named 'country'
ModuleNotFoundError: No module named 'country'  Hi, My Python... 'country' How to remove the ModuleNotFoundError: No module named 'country... to install padas library. You can install country python with following command
ModuleNotFoundError: No module named 'country'
ModuleNotFoundError: No module named 'country'  Hi, My Python... 'country' How to remove the ModuleNotFoundError: No module named 'country... to install padas library. You can install country python with following command
Sorting Country names alphabetically
Sorting Country names alphabetically  Hello, I have a list of country names in an array. I need a jsp code which will sort me the country names in an alphaberical order. It would be more useful when I get the coding using
ModuleNotFoundError: No module named 'keras-position-wise-feed-forward'
ModuleNotFoundError: No module named 'keras-position-wise-feed-forward' ...: ModuleNotFoundError: No module named 'keras-position-wise-feed-forward' How to remove the ModuleNotFoundError: No module named 'keras-position-wise-feed-forward'
ModuleNotFoundError: No module named 'WISE-PaaS-SCADA-Python-SDK'
ModuleNotFoundError: No module named 'WISE-PaaS-SCADA-Python-SDK'  Hi...: No module named 'WISE-PaaS-SCADA-Python-SDK' How to remove the ModuleNotFoundError: No module named 'WISE-PaaS-SCADA-Python-SDK' error? Thanks
ModuleNotFoundError: No module named 'keras-position-wise-feed-forward'
ModuleNotFoundError: No module named 'keras-position-wise-feed-forward' ...: ModuleNotFoundError: No module named 'keras-position-wise-feed-forward' How to remove the ModuleNotFoundError: No module named 'keras-position-wise-feed-forward'
ModuleNotFoundError: No module named 'WISE-PaaS-DataHub-Edge-Python-SDK'
ModuleNotFoundError: No module named 'WISE-PaaS-DataHub-Edge-Python-SDK' ...: ModuleNotFoundError: No module named 'WISE-PaaS-DataHub-Edge-Python-SDK' How to remove the ModuleNotFoundError: No module named 'WISE-PaaS-DataHub-Edge-Python-SDK'
page break using itext in java column wise
in column wise in pdf. mainTab = new PdfPTable(prolength
Which country is better for Masters?
Which country is better for Masters?  Hi, I am beginner in Data...: Which country is better for Masters? Try to provide me good examples or tutorials links so that I can learn the topic "Which country is better for Masters
ModuleNotFoundError: No module named 'bat-country'
ModuleNotFoundError: No module named 'bat-country'  Hi, My Python... 'bat-country' How to remove the ModuleNotFoundError: No module named 'bat-country' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'country-as-hegemony'
ModuleNotFoundError: No module named 'country-as-hegemony'  Hi, My... named 'country-as-hegemony' How to remove the ModuleNotFoundError: No module named 'country-as-hegemony' error? Thanks   Hi

Ads