我想在目录
中创建一个false子目录路径原始网址:
CURRENT URL(MY HTACCESS):
我想:
“永久链接”,我想要这个错误的路径
当前的HTACCESS:
RewriteRule ^ abracadabra /([^ /] *)$ /abracadabra/index.php?doce=$1 [L]
RewriteRule ^ abracadabra /([0-9] +)/([0-9] +)$ /abracadabra/index.php?doce=$1&travessura=$2 [L]
答案 0 :(得分:0)
RewriteEngine On
RewriteRule ^abracadabra/([^/]*)$ /abracadabra/index.php?doce=$1 [L]
RewriteRule ^abracadabra/([0-9]+)/([0-9]+)$ /abracadabra/index.php?doce=$1&travessura=$2 [L]
RewriteRule ^abracadabra/([0-9]+)/permalink/([0-9]+)$ /abracadabra/index.php?doce=$1&travessura=$2 [L]
希望它有所帮助!