Title in url |
(07-05-2017, 05:04 AM)tonny16 Wrote: Thank you for your answer. If you have categories in the database and then the products in the database, you can make the entire solution database driven (or you can add categories to the database and categorize your products and then use this solution...) if you want sitename.com/category/product name, you would need to do that in the default controller for the site using the remap function. PHP Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); If your category/product names aren't URL friendly, then you'll need to add a column to the database for URL friendly text, populate it and search off of that. |
Messages In This Thread |
Title in url - by tonny16 - 07-05-2017, 02:32 AM
RE: Title in url - by InsiteFX - 07-05-2017, 03:48 AM
RE: Title in url - by tonny16 - 07-05-2017, 05:04 AM
RE: Title in url - by Kaosweaver - 07-05-2017, 08:04 AM
|