preview url |
[eluser]Unknown[/eluser]
Hi, I just hosted my codeigniter site on a server. But my domain is not pointing to the server yet. Meanwhile inorder to view the site via a preview URL like http://123.123.123.123/~username/ what should be done? I changed the base url to http://123.123.123.123/~username/ But my stylesheets, links, images etc do not work. Please advise. Thanks.
[eluser]web_developer[/eluser]
It is hard to figure out problem. But just check controller are working? for example : http://123.123.123.123/~username/<controller_name> print some statement in "index()" and checkout. index() are working? if it is working then configuration is ok.
[eluser]web_developer[/eluser]
and might be your URL is creating problem. http://123.123.123.123/~username/ I think CI is treating ~username as a Controller or directory in that case you have to set condition in routes.php $route['~username'] = "<controller_name>" and then it will work.. (It is better to use with Domain URL) |
Welcome Guest, Not a member yet? Register Sign In |