How to clean the URL? |
[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
[eluser]Thorpe Obazee[/eluser]
don't put in the 'CodeIgniter' folder. Put it in the level higher than that.
[eluser]sirfak[/eluser]
Hi. Can you explain? I have this folder structure /(root)/CodeIgniter/system/Application What to do next? Thanks Ajay
[eluser]Thorpe Obazee[/eluser]
/(root)/system/application /(root)/index.php etc. It should be like this.
[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
[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
[eluser]sirfak[/eluser]
Hi. what change needs to be done in base_URL? can you explain? Thanks Ajay
[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/ |
Welcome Guest, Not a member yet? Register Sign In |