下載的一個主題,url中都包含index.php,http://www.xxx.com/index.php/sample-post/這樣
2 r# @2 Q+ k9 ^現在想把index.php去掉,自己在後台修改自定義結構/%postname%/,但前台顯示無法找到該頁,用301跳轉,則前台沒有任何樣式,請問應該如何修改?謝謝!2 U& p5 G5 l, H& T5 r/ `
301跳轉代碼如下:# d2 `' g4 ^/ l; i) e- f2 D
RewriteRule ^/$ /index.php [L]
9 {! _/ l5 W7 t# e* K3 S+ ~' u$ |4 cRewriteRule /(.*) /index.php/$1 [L]
2 N* D9 N- j3 @$ R& r
5 E* C+ T* ~2 P x2 I9 r
, p0 h+ ^! j' q2 B5 @9 R- L7 | |