与我的slu is不支持阿拉伯语,当我尝试用阿拉伯语书写时,删除它并用-cat
替换它
所以我希望它支持阿拉伯语,我想从整个文件中删除-cat
而不仅仅是类别。
Options +FollowSymLinks -MultiViews -Indexes
RewriteEngine On
RewriteBase /
#Category
RewriteRule ^([a-zA-Z0-9_-]+)-cat([a-zA-Z0-9_-]+)-([0-9_-]+)-([0-9_-]+)-([0-9_-]+)$ cat1.php?id1=$2&id2=$3&id3=$4&id4=$5 [QSA]
RewriteRule ^([a-zA-Z0-9_-]+)-cat([a-zA-Z0-9_-]+)-([0-9_-]+)-([0-9_-]+)$ cat1.php?id1=$2&id2=$3&id3=$4 [QSA]
RewriteRule ^([a-zA-Z0-9_-]+)-cat([a-zA-Z0-9_-]+)-([0-9_-]+)$ cat1.php?id1=$2&id2=$3 [QSA]
RewriteRule ^([a-zA-Z0-9_-]+)-cat([a-zA-Z0-9_-]+)$ cat1.php?id1=$2 [QSA]
RewriteRule ^([a-zA-Z0-9_-]+)-cat([a-zA-Z0-9_-]+)$ cat1.php?id1=$2
RewriteRule ^([a-zA-Z0-9_-]+)--([a-zA-Z0-9_-]+)-cat([a-zA-Z0-9_-]+)-([a-zA-Z0-9_-]+) cat1.php?id1=$3&id2=$4
RewriteRule ^cat([a-zA-Z0-9_-]+)-([a-zA-Z0-9_-]+)$ cat1.php?id1=$1&id2=$2
RewriteRule ^cat([a-zA-Z0-9_-]+)$ cat1.php?id1=$1&v=3
RewriteRule ^itm([a-zA-Z0-9_-]+)-edit$ artikel.php?id=$1&create=edit
RewriteRule ^itm([a-zA-Z0-9_-]+)-create$ artikel.php?id=$1&create=created
RewriteRule ^itm([a-zA-Z0-9_-]+)$ artikel.php?id=$1 [QSA]
RewriteRule ^a/([a-zA-Z0-9_-]+).html$ index.php?id=$1
RewriteRule ^b/([a-zA-Z0-9_-]+)/(.*?)$ kate.php?id=null
ErrorDocument 404 /index.php?error=pagenotload