Friday 24 September 2004 9:34:23 am
Here is my situation; I have set up a multi-lingual site that can serve up English and German content. I have a separate domain for each language, e.g., www.foo.com and www.foo.de. Currently, my rewrite rule is the standard one in the documentation that strips off the index.php portion of the URL. However, I can access either siteaccess on each domain:
www.foo.com/en
www.foo.com/de
www.foo.de/en
www.foo.de/de
What I would like to do is to strip off the siteaccess portion of the URL so they look and work like this:
www.foo.com/some_url (serves up some_url from en siteaccess)
www.foo.de/some_url (serves up some_url from de siteaccess)
What is the best way of doing this? Is there a ez-based setting I can use, or do I have to modify my rewrite rule? Current Rewrite rule:
RewriteRule !(^/html|^/images|^/img|^/php|^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/extension/.*/design|^/kernel/setup/packages).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf|php)$ /index.php
Thanks.
|