I'm trying to wrap my head around rewriting some urls internally in Joomla! 1.7 with SEF features turned on but can't seem to figure it out:
The following SEF URL exists (menu item):
website.com/local/amsterdam
What I would like is the following:
http://website.com/local/amsterdam/trends (non-existant) to render http://website.com/local/amsterdam?show=trends while still displaying the first URL.
Working with .htaccess the following works (but doesn't show SEF URL):
RewriteRule ^local/amsterdam/trends$ index.php?option=com_content&view=article&id=14&Itemid=176&show=trends [L]
But this doesn't:
RewriteRule ^local/amsterdam/trends$ local/amsterdam?show=trends [L]
I'm hoping to find a solution without having to use an id so that it will dynamically render the correct page for all cities. I'ld appreciate any thoughts on doing this in .htaccess as well as any different solutions to achieve this! Thanks in advance.