Welcome Guest, Not a member yet? Register   Sign In
quick question
#1

[eluser]webstudent_101[/eluser]
so in CI i was able to remove the need of the index.php in my url using .htaccess

for ex. my url is "http://localhost/website_name/html/"
is it possible to remove the "/website_name/html" using .htaccess?

trying to study using .htaccess with no luck yet..

thanks for the help!! Smile
#2

[eluser]Twisted1919[/eluser]
You need to use routes for this. Check the user guide .
#3

[eluser]pickupman[/eluser]
Depends if the /website_name/html/ is part of your folder structure. If it is, you will need to have something in your document root's .htaccess to be able to forward those pages to your subfolder. If you have CI in your document root folder, and have website_name controller, then you would routes like:

Code:
$route['default_controller'] = 'website_name';




Theme © iAndrew 2016 - Forum software by © MyBB