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)
You must be logged in to reply to this topic.
Comments are closed.
Do you play Magic?
Get TopDecked MTG, the essential all-in-one Magic App, built by players, for players. Free to use, forever.
Deck Simulator (3d)
Cards & Prices
Top 8 Decks & Metagame
Get updates from OCPSoft
If you find our tools useful, please consider making a donation to help us stay online and building software!