Answer the question
In order to leave comments, you need to log in
Routing codeigniter3?
Good time everyone, I started making a small site on codeigniter3, I ran into a route problem, I did everything as in the instructions in the news section
It turns out that on the main page I have a list of news with a link to the full news, when I click on the news, it gives a 404 error, let's say we have such an address site. loc/news is a list of all news when I click on the news link, I get this address site.loc/item1 but it doesn’t work like this site.loc/news/item1 works like this but if you add /news/ after it is no longer removed and for example when you go on the main page it turns out that /news/home again 404. Tell me what needs to be done here.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question