A
A
Anton Shelestov2018-07-07 13:13:38
Laravel
Anton Shelestov, 2018-07-07 13:13:38

How to organize routes correctly?

Hello.
The situation is this:
There is a main domain, for example main-domain.ru
And the structure:
main-domain.ru/catalog - listing
main-domain.ru/product - product page
main-domain.ru/product-price - the same product page, but with other information
main-domain.ru/product-forum - similar
Next, each product can be organized on a subdomain and it will look like this:
main-domain.ru/catalog - listing
product.main-domain.ru - product
product page. main-domain.ru /price - the same product page, but with different information
product.main-domain.ru /forum - similar
And the same thing only on a separate domain
main-domain.ru/catalog - listing
custom-domain.ru - product page
custom-domain.ru /price - the same product page, but with different information
custom-domain.ru /forum - similar
Has anyone done this?
Can anyone suggest where to dig?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yan-s, 2018-07-07
@Yan-s

What can't you do? It seems like nothing unusual, which would not be in the routing documentation.
(See. From the point of view of SEO, it should not be good. Duplicate content)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question