on 08-08-2016 3:25 PM
Hi Experts,
We have a requirement where we want to map the search the link to a user friendly link.Please find the requirement below,
For e.g. can we include a link like https://www.myshop.com/mens-clothing-inner-nightwear/c-msh1114?offer=&searchCategory=&q=%3Arelevance... to and make it appear in the browser as http://www.myshop.com/yellow-vests when someone clicks on it ?
Regards, Hena
We had a similar requirement recently, for marketing purposes.
What we did, as we ar not aware of any other solution, is creating a custom RedirectCMSPage that receives the URL to redirect to, and the label that is used for accessing the page.
The redirect itself is a simple Spring forward action in the custom page controller...
So that in the end, Business users may create redirect pages directly via the CMSCockpit without any technical intervention.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
go to searchBox.tag file and change the search form method from get to post. when search is invoked it would have called the SearchPageController.java. change the default method from GET to POST to solve the problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.