Welcome Guest, Not a member yet? Register   Sign In
How to clean the URL?
#1

[eluser]sirfak[/eluser]
Hi,
I have my project located at /public_html/CodeIgniter location.
But now when I access my appliction the URL I am getting is www.xyz.com/CodeIgniter/index.php
How can I clean it to look like www.xyz.com
Thanks
sirfak
#2

[eluser]Thorpe Obazee[/eluser]
don't put in the 'CodeIgniter' folder. Put it in the level higher than that.
#3

[eluser]sirfak[/eluser]
Hi.
Can you explain?
I have this folder structure
/(root)/CodeIgniter/system/Application
What to do next?
Thanks
Ajay
#4

[eluser]Thorpe Obazee[/eluser]
/(root)/system/application
/(root)/index.php

etc.

It should be like this.
#5

[eluser]sirfak[/eluser]
Hi..
If I put system folder at my root level so it will look like
/
----system
-----index.php
Then do I need to change any thing in index.php so that codeIgniter locate the application folder
Thanks
Ajay
#6

[eluser]Dam1an[/eluser]
you shouldn't need to, as the paths are relative to index.php, so if you moved it all together, you will have no problems

You will need to change the base_url in config.php though
#7

[eluser]sirfak[/eluser]
Hi.
what change needs to be done in base_URL?
can you explain?
Thanks
Ajay
#8

[eluser]Thorpe Obazee[/eluser]
I think Dam1an said it clear enough, I really don't know how to 'explain' it more clearly. Change the base_url in the config file to http://yourdomain/




Theme © iAndrew 2016 - Forum software by © MyBB