skip to Main Content

i need to routing my website url to seo friendly url, get out this issue?

please check the screen shot.

http://prntscr.com/ke8uf0

2

Answers


  1. Try this. In routes.php:

    $route['products/(:any)'] = 'products/index/$1';
    

    In your controller:

    public function index($product_name) { ... }
    
    Login or Signup to reply.
  2. In folder applicaion -> config-> routes.php

    $route['badrumsutrustning/(:any)'] = 'products/index/$1';
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search