mod_rewrite problems! |
[eluser]taschentuch[/eluser]
hi i have a problem with the mod_rewrite rules! here my .htaccess: Code: RewriteEngine on my problem now: when i open http://localhost/ my design works... but when i got to http://localhost/index/article is my design broken... my *.css will not load this mod_rewrite rule blocks the loading from the css files plz help me thx a lot =) edit: sry wrong forum pls move to the right
[eluser]khagendra[/eluser]
create a .htaccess file and add the following lines in the file Code: RewriteEngine on —-You can use notepad to create .htaccess file. —- keep this file at the location of codeigniter index.php(i.e. in the root folder) open config\config.php and set index_page to empty to hide the index.php in url like this Code: $config['index_page'] = "index.php";
[eluser]taschentuch[/eluser]
thx but this doesnt solve my problem have it now self solved: have changed Code: <link rel="stylesheet" type="text/css" href="assets/frontend/modernblue/css/style.css" /> to Code: <link rel="stylesheet" type="text/css" href="<?php base_url();?>/assets/frontend/modernblue/css/style.css" /> |
Welcome Guest, Not a member yet? Register Sign In |