I tried a lot to get the result i.e. .html or / as URL suffix, but failed.
My config.php is like...
$config['base_url'] = 'http://localhost/domain/';
$config['index_page'] = 'index.php';
$config['uri_protocol'] = 'AUTO';
$config['url_suffix'] = '.html';
My web.config is like...
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Clean URL" stopProcessing="true">
<match url="^(.*)$" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php/{R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
My autoload.php is like...
$autoload['helper'] = array('url', 'file');
My URL is showing like...
http://localhost/domain/view_details/get/some_details
where I want the URL like...
http://localhost/domain/view_details/get/some_details.html
I tried this and this also, but failed.
What should I do ?
.htmlafter the link and hit, no problem happens, it shows/display the page properly. But.htmlis not append automatically.