![]() |
Rewrite Rules - htaccess rewrite looping
Hi All,
I'm at my wits end with this one. Never been strong with .htaccess and this one has me baffled. I'm trying to achieve having a site that uses geoip to direct uses to country pages. Eg domain.com > domain.com/us/ or domain.com/eu/ This works fine to achieve that Code:
RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^(DE|FR|GB)$Now I want to use one set of pages in the root that each virtual directory pulls and then the content will be dynamically generated. This code works fine for that bit Code:
RewriteRule ^eu/(.*)[/]?$ /$1 [NC,L]Total code in .htaccess in root Code:
Adam :) |
| All times are GMT +1. The time now is 07:51 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.