您好我試着用的.htaccess我的域htaccess的重寫不工作
更換域名這是我的域名:
http://domain.com/categories.php?catid=7&catname=Buero-und-Schreibwaren
我試過,但它不工作。我錯了什麼?
RewriteEngine on
RewriteRule ^([a-z\-_0-9])\.html$ /categories.php?katid=$1&katname=$2
我想有這樣的一個域:
http://domain.com/categories/Buero-und-Schreibwaren/
你有2個輸入(類別和Buero-und-Schreibwaren),你需要3個組。你應該這樣做域名http://domain.com/categories/Buero-und-Schreibwaren/7/最後一個號碼是catid – Chris
好的我必須改變我的結果嗎? – TrivoXx