Hello All,
What do you prefer for redirecting Geolocations? If your site is running to Multiple countries.
1) aem form html 5 or Google Api for geolocation
2) Adobe CDN or Akamai CDN.?
Any inputs will be appreciated.
Solved! Go to Solution.
Views
Replies
Total Likes
@pathikparmar - If you have a CDN in-place then you need to enable/pass a country-code header so that it can be passed to the apache dispatcher.
RewriteCond %{REQUEST_URI} ^/content/we-retail.html RewriteCond %{HTTP:X-COUNTRY-Code} ^US$ RewriteRule ^.*$ /content/we-retail/us/en.html [R=302,L]
Please note that X-COUNTRY-CODE should be the header coming from CDN like Akamai/Cloudfront/Fastly
Hope this helps!
Jineet
@pathikparmar - If you have a CDN in-place then you need to enable/pass a country-code header so that it can be passed to the apache dispatcher.
RewriteCond %{REQUEST_URI} ^/content/we-retail.html RewriteCond %{HTTP:X-COUNTRY-Code} ^US$ RewriteRule ^.*$ /content/we-retail/us/en.html [R=302,L]
Please note that X-COUNTRY-CODE should be the header coming from CDN like Akamai/Cloudfront/Fastly
Hope this helps!
Jineet