Want to show the Stores based on countries The 2019 Stack Overflow Developer Survey Results Are InGeoIp-based default currency selection behind VarnishRedirect www to non-www keeping the pathBrowser Language Redirection For Multi Language Stores In Magento 2Issue with Multi Store setup - New NZ site does not load the right storeGet stores countries and Languages REST APIShow different logo based on URLMagento 2.1.9 : Change store based on countryHow can I show all countries in UIcomponent dropdown?How to redirect to particular stores when the site opensI want to Display a Store switcher drop down in top header
Output the Arecibo Message
Why hard-Brexiteers don't insist on a hard border to prevent illegal immigration after Brexit?
Are spiders unable to hurt humans, especially very small spiders?
Did Section 31 appear in Star Trek: The Next Generation?
Am I thawing this London Broil safely?
Does a dangling wire really electrocute me if I'm standing in water?
What to do when moving next to a bird sanctuary with a loosely-domesticated cat?
Is bread bad for ducks?
Protecting Dualbooting Windows from dangerous code (like rm -rf)
How are circuits which use complex ICs normally simulated?
Button changing it's text & action. Good or terrible?
Why isn't airport relocation done gradually?
Is three citations per paragraph excessive for undergraduate research paper?
Apparent duplicates between Haynes service instructions and MOT
What is the closest word meaning "respect for time / mindful"
What is the accessibility of a package's `Private` context variables?
What tool would a Roman-age civilization have for the breaking of silver and other metals into dust?
What does Linus Torvalds mean when he says that Git "never ever" tracks a file?
Write faster on AT24C32
Is a "Democratic" Oligarchy-Style System Possible?
How can I autofill dates in Excel excluding Sunday?
How to support a colleague who finds meetings extremely tiring?
What is the most effective way of iterating a std::vector and why?
Are there incongruent pythagorean triangles with the same perimeter and same area?
Want to show the Stores based on countries
The 2019 Stack Overflow Developer Survey Results Are InGeoIp-based default currency selection behind VarnishRedirect www to non-www keeping the pathBrowser Language Redirection For Multi Language Stores In Magento 2Issue with Multi Store setup - New NZ site does not load the right storeGet stores countries and Languages REST APIShow different logo based on URLMagento 2.1.9 : Change store based on countryHow can I show all countries in UIcomponent dropdown?How to redirect to particular stores when the site opensI want to Display a Store switcher drop down in top header
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I need to show the stores name like saudi / oman / dubai. Each stores have two store views (Arbic & English). I want to display these Stores according to their countries.
For Example Saudi Store will open on saudi with its two store views.
I had tried with GeoIP .htaccess
file redirection like below,
GeoIPEnable On
RewriteEngine On
RewriteCond %ENV:GEOIP_COUNTRY_CODE ^SA$
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
It is going to the Redirection Loop. I had also tried this Geo Switch Module It makes redirection but not allowing another Store view. Also website staring time loading is very slow. I had also tried Amasty Geo IP Extension. It does not supports varnish enabled sites.
I hope .htaccess
file is the Best way to redirect the sites.
Please Anyone Guide me for this requirement That will be highly Appreciated.
magento2 redirect varnish htaccess store-switcher
add a comment |
I need to show the stores name like saudi / oman / dubai. Each stores have two store views (Arbic & English). I want to display these Stores according to their countries.
For Example Saudi Store will open on saudi with its two store views.
I had tried with GeoIP .htaccess
file redirection like below,
GeoIPEnable On
RewriteEngine On
RewriteCond %ENV:GEOIP_COUNTRY_CODE ^SA$
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
It is going to the Redirection Loop. I had also tried this Geo Switch Module It makes redirection but not allowing another Store view. Also website staring time loading is very slow. I had also tried Amasty Geo IP Extension. It does not supports varnish enabled sites.
I hope .htaccess
file is the Best way to redirect the sites.
Please Anyone Guide me for this requirement That will be highly Appreciated.
magento2 redirect varnish htaccess store-switcher
Have you installed and enabled mod_geoip in your server for your redirection to work fine?
– Raj Mohan R
yesterday
@RajMohanR yes i had installed and enabled mod_geoip on my server. While i use htacess file method. site goes in redirection loop due to varnish cache i think. If you have solution please share it to me
– Ask Bytes
yesterday
What about this one github.com/iwebhosting/varnish-geoip
– Raj Mohan R
yesterday
@RajMohanR i will look that module and update here. Is that is enough for varnish cache issue?
– Ask Bytes
yesterday
add a comment |
I need to show the stores name like saudi / oman / dubai. Each stores have two store views (Arbic & English). I want to display these Stores according to their countries.
For Example Saudi Store will open on saudi with its two store views.
I had tried with GeoIP .htaccess
file redirection like below,
GeoIPEnable On
RewriteEngine On
RewriteCond %ENV:GEOIP_COUNTRY_CODE ^SA$
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
It is going to the Redirection Loop. I had also tried this Geo Switch Module It makes redirection but not allowing another Store view. Also website staring time loading is very slow. I had also tried Amasty Geo IP Extension. It does not supports varnish enabled sites.
I hope .htaccess
file is the Best way to redirect the sites.
Please Anyone Guide me for this requirement That will be highly Appreciated.
magento2 redirect varnish htaccess store-switcher
I need to show the stores name like saudi / oman / dubai. Each stores have two store views (Arbic & English). I want to display these Stores according to their countries.
For Example Saudi Store will open on saudi with its two store views.
I had tried with GeoIP .htaccess
file redirection like below,
GeoIPEnable On
RewriteEngine On
RewriteCond %ENV:GEOIP_COUNTRY_CODE ^SA$
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
It is going to the Redirection Loop. I had also tried this Geo Switch Module It makes redirection but not allowing another Store view. Also website staring time loading is very slow. I had also tried Amasty Geo IP Extension. It does not supports varnish enabled sites.
I hope .htaccess
file is the Best way to redirect the sites.
Please Anyone Guide me for this requirement That will be highly Appreciated.
magento2 redirect varnish htaccess store-switcher
magento2 redirect varnish htaccess store-switcher
edited yesterday
Ask Bytes
asked yesterday
Ask BytesAsk Bytes
357215
357215
Have you installed and enabled mod_geoip in your server for your redirection to work fine?
– Raj Mohan R
yesterday
@RajMohanR yes i had installed and enabled mod_geoip on my server. While i use htacess file method. site goes in redirection loop due to varnish cache i think. If you have solution please share it to me
– Ask Bytes
yesterday
What about this one github.com/iwebhosting/varnish-geoip
– Raj Mohan R
yesterday
@RajMohanR i will look that module and update here. Is that is enough for varnish cache issue?
– Ask Bytes
yesterday
add a comment |
Have you installed and enabled mod_geoip in your server for your redirection to work fine?
– Raj Mohan R
yesterday
@RajMohanR yes i had installed and enabled mod_geoip on my server. While i use htacess file method. site goes in redirection loop due to varnish cache i think. If you have solution please share it to me
– Ask Bytes
yesterday
What about this one github.com/iwebhosting/varnish-geoip
– Raj Mohan R
yesterday
@RajMohanR i will look that module and update here. Is that is enough for varnish cache issue?
– Ask Bytes
yesterday
Have you installed and enabled mod_geoip in your server for your redirection to work fine?
– Raj Mohan R
yesterday
Have you installed and enabled mod_geoip in your server for your redirection to work fine?
– Raj Mohan R
yesterday
@RajMohanR yes i had installed and enabled mod_geoip on my server. While i use htacess file method. site goes in redirection loop due to varnish cache i think. If you have solution please share it to me
– Ask Bytes
yesterday
@RajMohanR yes i had installed and enabled mod_geoip on my server. While i use htacess file method. site goes in redirection loop due to varnish cache i think. If you have solution please share it to me
– Ask Bytes
yesterday
What about this one github.com/iwebhosting/varnish-geoip
– Raj Mohan R
yesterday
What about this one github.com/iwebhosting/varnish-geoip
– Raj Mohan R
yesterday
@RajMohanR i will look that module and update here. Is that is enough for varnish cache issue?
– Ask Bytes
yesterday
@RajMohanR i will look that module and update here. Is that is enough for varnish cache issue?
– Ask Bytes
yesterday
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269333%2fwant-to-show-the-stores-based-on-countries%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269333%2fwant-to-show-the-stores-based-on-countries%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have you installed and enabled mod_geoip in your server for your redirection to work fine?
– Raj Mohan R
yesterday
@RajMohanR yes i had installed and enabled mod_geoip on my server. While i use htacess file method. site goes in redirection loop due to varnish cache i think. If you have solution please share it to me
– Ask Bytes
yesterday
What about this one github.com/iwebhosting/varnish-geoip
– Raj Mohan R
yesterday
@RajMohanR i will look that module and update here. Is that is enough for varnish cache issue?
– Ask Bytes
yesterday