hide or change parametr from url

Splash Forums Rewrite Users hide or change parametr from url

This topic contains 3 replies, has 2 voices, and was last updated by  Christian Kaltepoth 8 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #24853


    i want to my url dont show parametr or change url that dont have query string in end of url.
    i handle it with url-mapping but i want all view-id have a url-mapping or handle it with regular experision.

    can any one help me to do this.

    my code is:
    <pattern value=”/baseinformation/#{cid}/”/>
    <view-id value=”/baseinformation.htm”/>


    Yes, you can do this with PrettyFaces. If you want to have a single mapping for many URLs, I recommend to have a look at Rewrite, which is the successor of PrettyFaces.

    Could you give us a concrete example of an URL you would like to rewrite?



    tanks from your answer.

    for example my url is this and i want to hide cid from it.


    You cannot completely remove this parameter. You could just try to embed it in the path.

    Actually a configuration like this should work:

      <pattern value=”/logevents/#{cid}/”/>
      <view-id value=”/logEventReport/logEventReport.htm”/>
Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Rewrite Users’ is closed to new topics and replies.

Comments are closed.