I developed one web application in which I used codeigniter, Structure of all the URLs of my web application is as follows:
<?php echo base_url();?>/Admin/Promotions
this type of links are working well in my Localhost but not working on my hosting server (I'm using Godaddy hosting)
But some links which have index.php in URLs are working both on localhost and server too structure of this king of links are
<?php echo base_url();?>index.php/Admin/Pramotions
What shoud I do so that URLs without index.php works well ??
My HTACCESS :
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
.htaccess?