Jump to content

Passing custom text to url rewrite


rosuandreimihai

Recommended Posts

Hi all,

 

I have a new CMS page that is going to be used for displaying dynamic data from database depending on certain parameters passed via overridden Link.php class. If I don't create any Dispatcher rule for url rewrite, the link would show me the parameters

Now, the task is to alter somehow the rewritten url link to actually include those parameters passed

The link should look like: mysite.com/flowers-country-city.html

The params are country and city and they are passed using the Link.php class as metioned

 

Until now I have created the CMS page "flowers-" and the link displayed is "mysite.com/flowers-" but I don't know how to alter the rewritten url

 

Could someone help me sort it out?

Thank you!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...