Forum Discussion

raguv12ps's avatar
5 years ago

Category Page URL parameters

Hi,

I understand we have default URL for category page when a category is created.

My requirement is I needed to load a specific category page with some default parameters when the category link is selected.

Category page Url : https://community.domain/t5/categoryName/ct-p/category_id

Required URL : https://community.domain/t5/categoryName/ct-p/category_id?q1="val1"&q2="val2"

Can we achieve this URL on a category page by default.


Any suggestions?

  • Hi raguv12ps ,

    There are a couple ways you could achieve this:

    If the URL is static, you could open a support case and request a rewrite rule be added that sets the parameters you want. We are working on self-support redirect rules via the admin, but until that is released, a support ticket is the way to go for these.

    If the parameters need to be dynamically created using some kind of business logic, then you might want to use a page initialization script (which you can edit via Studio).

    -Doug

2 Replies

  • DougS's avatar
    DougS
    Khoros Oracle
    5 years ago

    Hi raguv12ps ,

    There are a couple ways you could achieve this:

    If the URL is static, you could open a support case and request a rewrite rule be added that sets the parameters you want. We are working on self-support redirect rules via the admin, but until that is released, a support ticket is the way to go for these.

    If the parameters need to be dynamically created using some kind of business logic, then you might want to use a page initialization script (which you can edit via Studio).

    -Doug

  • Yes the URL is static.

    I guess I'll create a support ticket to proceed for now.response.

     

    Thanks Doug for the response.