Suppose I have a controller called "getproduct". If i use this
the getproduct controller extract the product code(i.e ad29i,ci013,ze529) from that url and display the required result.
Now i want to setup this url like
http://example.com/ad29i
http://example.com/ci013
http://example.com/ze529
How to achive this?
my .htaccess file content
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php?$1 [QSA,L]
I have set config file like this
$config['index_page'] = '';