CodeIgniter URL
We have two types of URL: 1) Query URL 2) segment based URL Example: 1) Query Based URL => https://example.com/view.php?product=20&cat=books You can see that we can use ? and & = these are the query url. Example: 2) Segment Based URL => https:// example.com/view/product/20/cat/books You can see that we can use / these are the segment base url. Understand the URL pattern URL => https:// example.com/view/product/20/cat/books URI => view/product/20/cat/books URL = Base URL + URI URL = https:// example.com + view/product/20/cat/books ...