Server different page to viewers from different countries

I have different versions of some of my pages in different languages, but they default to English.

It just occurred to me that it should default to the Italian version if the viewer is coming from an IP address which registers as Italy, and English otherwise. (Readers can always then click to change the language.)

I found this page: apache - How do I serve a different HTML page depending on user's country? - Stack Overflow which seems to describe how to do it with mod_rewrite … would that work on Reclaim sites?

Yes you can use mod_rewrite rules by putting them in a .htaccess in the web directory for your site. Here’s some more info on .htaccess files:

This topic was automatically closed after 365 days. New replies are no longer allowed.