Why can't i have slashes in my rewrite rule?
问题 I am trying to make an .htaccess file, to create SEO url. It seems however that I can't have a slash in the mod rewrite, am I doing this wrong? My code is as follows: RewriteEngine on RewriteRule ^(.+)/$ /$1 [L,R=301] RewriteRule ^folder/folder-name index.php?show=folder&folder_id=7 The page is loaded correctly, but the style sheet/images/javascript aren't found! It's as if, the page thinks that it should look for the style/images/js relative to "folder/folder-name". If i change the last line