0
我使用以下htaccess的代码htaccess的问题cleaun向上请求URI
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.digilink\.co$ [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteCond %{REQUEST_URI} ^($|/.*$)
RewriteRule ^category/([a-z]+)-([a-z]+) /search.php?cat=$1-$2 [NC]
RewriteRule ^category/([a-z]+) /search.php?cat=$1 [NC]
#non www to www
RewriteCond %{HTTP_HOST} !^www\.digilink\.co$
RewriteRule (.*) http://www.digilink.co/$1 [R=301,L]
# custom error documents
ErrorDocument 404 http://www.digilink.co/404.php
作为URI被转换为www.digilink.co/category/automotive没有CSS和图像被加载。随着目录的添加。请帮助我查询。