Welcome Guest, Not a member yet? Register   Sign In
Removing the index.php file
#1

[eluser]Unknown[/eluser]
Hi all,
i am want to ramove index.php file from my URI
my site URI is
Code:
http://www.mysite.com/index.php/folder/food/apple

and want to show my URI like this
Code:
http://www.mysite.com/folder/food/apple

and also i want to protect my url by password

plz help me i m in very trouble .
#2

[eluser]GSV Sleeper Service[/eluser]
the answer is in the user guide - http://ellislab.com/codeigniter/user-gui.../urls.html

you can set a password using the .htaccess file too (this is a Code Igniter support forum, not an apache forum!)
#3

[eluser]trice22[/eluser]
Have a look here: http://www.freewebmasterhelp.com/tutorials/htaccess/3
Always helpful: http://www.google.com/search?client=safa...8&oe=UTF-8
#4

[eluser]Unknown[/eluser]
I have used this code provided by user guide but it is not working .

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]


it is show my url like this and blank page
Code:
http://www.mysite.com/folder/food/apple

i am redirecting page by this code
Code:
redirect("index.php/folder/food/apple")


and routes code is

Code:
$route['folder/foode/(:any)'] = "foodstock"

i can't see anything on my page




Theme © iAndrew 2016 - Forum software by © MyBB