Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Hello Admin,
Yesterday I started reading on couch custom routes and how to use it. Going through the docs a question popped in my head and its about how to handle a url like this with custom routes and dynamic folders.
Code: Select all
Url: 
http://www.domain.com/electronics/television/samsung

http://www.domain.com/electronics/television/samsung/led/4k/45inches/refurbished-samsung-led

etc... thank you
Hello,
this URL should not be handled with custom routes [CR]. Keep using dynamic folders.
I know @orbital is a very experienced forum member about CR, because he works with a big retail store that has URLs optimized for SEO. I think they look more like domain.com/index.php?q=electronics-television-samsung because for seo reasons the flat structure is preferrable (as he generously shared with me).

Documentation about CR has a compelte template example - install that 'test.php' it in your system and try it out! Remember, that every complication must be well deserved and founded. CR is indeed a complication and once a template has them, it loses all standard Couch Views - page-view, folder-view etc - adding to volume of extra work which better be reasonable.
2 posts Page 1 of 1
cron