S
S
Sergey Beloventsev2016-08-22 15:56:09
Yii
Sergey Beloventsev, 2016-08-22 15:56:09

Why is the address with the return address not routed?

here is the actual address
http://film.lc/films/
here is the rule
'films/'=>'/film/category/all',
but I get a 404 error. and so everything is in order
http://film.lc/films
opens, I need something to open at this address,
http://film.lc/films/.
and here http://film.lc/filmsI will set up a redirect mood
Where I’m stupid, don’t tell me.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SharuPoNemnogu, 2016-08-22
@Sergalas

I don’t remember exactly, in the config it seems like this should be registered

'urlManager' => [
            'suffix' => '/',

and 'films/' to 'films'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question