CodeIgniter Forums

Full Version: How to make custom URL??
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum


I want to have a custom URL like domainname/#/topic
where topic is any string.

Currently I have domainname/topic , I have done this via routes.php
$route['(.*)'] = 'topic/view/$1';

so here view method of topic controller is called.

I want to have same thing but with # in the URL.

How can I achieve this??