Hi Poonam,

Poonam schrieb:
I have the requirement to change the url of a page of a website.

As per the requirement I have added a matcher in the pipeline as

<map:match pattern="**/abc/xyz/*.html"> I need to keep these pages editable. The issue I am facing is that when I reach at **/abc/xyz/test.html page, all the relative links work w.r.t **/abc/xyz base. (example : page1.html refers /live/abc/xyz/page1.html but it should be
/live/page1.html).

I am using lenya 1.2.4


that's not very easy to achieve because Lenya 1.2 uses URIs to internally reference documents. As you already noticed, changing the matchers confuses the link rewriting.

You could try to add another bidirectional link rewriting layer in front of Lenya, e.g. using a servlet filter.

-- Andreas




--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to