htacces takes me to localhost instead of removing index.php |
[eluser]behnampmdg3[/eluser]
[quote author="InsiteFX" date="1355887000"]Try this: Code: <link href="<?php echo base_url('css/styles.css'); ?>" rel="stylesheet" type="text/css" /> This is the correct way to use base_url() Also check to make sure your config base_url is set correct, or leave it blank and CI will try to figurre it out for you. [/quote]Hello; Thank you for your reply. Unfortunately it didn't work. Code: <link href="<?php echo base_url('css/styles.css');?>" rel="stylesheet" type="text/css" /> Still clicking on css link from the source takes me to 404! base_ulr in cofig is blank, I checked that. Please dont give up on me. Thank you |
Welcome Guest, Not a member yet? Register Sign In |