CodeIgniter Forums
CodeIgniter Setting URL - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: CodeIgniter Setting URL (/thread-52616.html)



CodeIgniter Setting URL - El Forum - 06-18-2012

[eluser]LEECH[/eluser]
Hi! I'm new with codeigniter.I have created my website in my computer with this url:

Code:
http://localhost/mywebsite/index.php/home/home

How can I make its url like www.mywebsite.com , instead of www.mywebsite.com/index.php/home/home when I upload it to my web server?

Many thanks!


CodeIgniter Setting URL - El Forum - 06-18-2012

[eluser]Pet[/eluser]
use htaccess.u can find code in google "using htaccess for codeigniter".hope it helps


CodeIgniter Setting URL - El Forum - 06-19-2012

[eluser]InsiteFX[/eluser]
.htaccess tips and tricks