M
M
My joy2015-04-26 20:35:50
PHP
My joy, 2015-04-26 20:35:50

Can you tell me the correct implementation of routing for my purposes?

There is a task to make routing for an online store, in this form:
site.ru/category/product The
problem is that there can be a bunch of categories. + you also need to figure out how to make it not intersect, let's say not with a category, but with another page, for example
, /info or /news.
to do some kind of intermediate table of correspondences? I work with phalcon.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2015-04-27
@xmoonlight

Use the category sections
: /goods/
news: /news/
about the project: /info/
and already in them (examples): /goods/new items/
product1.html or/s /goods/120120
/news/we-us- new-arrivals.html or/and /news/213

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question