Welcome Guest, Not a member yet? Register   Sign In
load image and css file


I have some problem with loading images and css file using CI6.0

I have directory structure like this

---views <- (all my web pages)
----css <- (all my css files)
----images <- (all my images for website)

my question is where does dir 'css' and 'images' should locate so it won't affect even I change my domain name. Like for any web server i just need to directly upload files and it should just work.

- How to config the base_url, I am lost.
- And how to get rid of the index.php, I have seen some articles about IIS url rewrite,
but I sitll can't make it work

Thanks in advanced.

[eluser]Référencement Google[/eluser]
Your post inspired me a screencast:

Hope this help you understand how you have to do.

Hey mate,

Thanks for the post.
One more question for you, with the url rewrite, does .htaccess also work in IIS server?? or your one is only for apache server?


[eluser]Référencement Google[/eluser]
htaccess work on Apache only as far as I know.

Theme © iAndrew 2016 - Forum software by © MyBB