Aricie
The DNN Expert for your web project
Forum
HomeHomeExpert ModulesExpert ModulesFriendlier URLFriendlier URLRewrite with Aricie.FriendlierUrlProvider Version 2.5.3.Rewrite with Aricie.FriendlierUrlProvider Version 2.5.3.
Previous
 
Next
New Post
3/9/2014 4:54 AM
 
I use Aricie.FriendlierUrlProvider Version 2.5.3.How rewrite url from:
http://www.mydomain/tabid/294/itemid/2402/abac-de.aspx
to
http://www.mydomain/itemid/2402/abc-de.aspx
Hown can do it? Help me
Thanks

 
New Post
3/19/2014 11:59 AM
 
Hi,

Sorry for the late answer.
The default rewrite strategy is similar to your target format, except that the Page Name group is inserted before the DNN "Params" group.
You should be able to move it.
The trick is that thoses groups are located in the 2 common aliases, rather than the strategy itself. As a matter of fact, the default strategy is only comprized of the base url and end url aliases, and those 2 also are also used in other specific strategies.
Accordingly you need either:
  •  to edit the alias rules direct if you expect your formatting to become standard behaviour in you website (i.e inserting the additional dnn params between the page path and the page name, the latter serving as your aspx page name,
  • to create a page-specific strategy for the "abac-de" page, where instead of using the default aliases, you copy the actual groups from those aliases with the distinct order that fit your needs. In such a case, only that page will display the non default ordering.

Regards,


Jean-Sylvain Boige CTO - Aricie
 
Previous
 
Next
HomeHomeExpert ModulesExpert ModulesFriendlier URLFriendlier URLRewrite with Aricie.FriendlierUrlProvider Version 2.5.3.Rewrite with Aricie.FriendlierUrlProvider Version 2.5.3.