0
我试图将用户重定向到/hd/142
,如果他们在URL中没有/hd/
。我尝试了很多选择,其中大部分都是一次又一次地重定向我。这里是我设置的当前.htaccess
。htaccess for codeIgniter
RewriteEngine on
RewriteCond $1 !^(index\.php|images|css|js)
RewriteRule ^hd/(.*)$ /index.php/$1 [L]
RewriteRule ^(images|css|js)/(.*) /applicationFiles/$1/$2 [L]
感谢