Rewrite is a very flexible framework so there are a lot of ways to solve this issue. My suggestion would be to start by writing a simple rule that does something you want, then expand it and add additional rules to cover all of your use cases.
hey lincoln thnx for your reply, i don’t want something more custom and complicated because i’m just new user of rewrite framework.
In my 1st case, i just want to delete .xhtml from all pages with dynamic way
as i mentioned, i have hundreds pages.
I’m gonna face a lot of duplication, i’m using addRule(Join.Path(“/path”).to(“path.xhtml”)) for each page
Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Rewrite Users’ is closed to new topics and replies.
Comments are closed.
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.