Hi,

How about:

<match pattern="domain.tld/*/index.html">
  <redirect-to url="domain.tld/index.html?lang={1}"/>
</match>

<match pattern="domain.tld/index.html">
  <generate src="index.html"/>
  <!-- localisation using {request-param:lang} -->
  <serialize type="html"/>
</match>

Cheers

Chris. Grobmeier wrote:

hi,

how can i have this link:

domain.tld/de/index.html

pointing to domain.tld/index.html, without having a folder named "de"
and without redirection (url must stay with /de/ in the middle).
I want to use "de" as a parameter for selecting my content xml-files.

I tried it with match="*/index.html" but only figured out to make
a redirection. Is there something like an url rewriter? i thought so
but i didn't find it any more in the documentation.

I am also interested in "best practices". I didn't like the sample
with the request param, cause it's not search engine friendly and
i want not to have deep links with blub.html?lang=de or something like that.


Thanx + Kindly Regards,
Chris


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




-- [EMAIL PROTECTED] IT-consultant at Daidalos BV, Zoetermeer (NL)

http://www.daidalos.nl/
tel:+31-(0)79-3316961
fax:+31-(0)79-3316464

GPG: 1024D/12DEBB50

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to