okyeshoody
New Member
I want to load every css and other files in the included head:\[code\]<script src="http://stackoverflow.com/questions/15897776/js/ios.js" type="text/javascript"></script><link rel="stylesheet" href="http://stackoverflow.com/questions/15897776/css/main.css">\[/code\]in the url mysite.com/index.phpand I want to change that to mysite.com/index/but then it doesn't load the css and javascript files,this is my .htaccess:\[code\]php_flag display_startup_errors offphp_flag display_errors offphp_value docref_root 0php_value docref_ext 0RewriteEngine onRewriteBase /RewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME}\.php -f#RewriteRule ^(.*)$ $1.phpRewriteRule ^([a-z0-9]+)$ $1.php [L]RewriteRule ^([a-z0-9]+)/$ $1.php [L] #segment1RewriteRule ^index/([0-9]+)$ index.php?page=$1 [L]\[/code\]Please help me