newsy/czytaj/items/odbierz-250zl-na-reklame.html
什么这是我不得不
newsy/odbierz-250zl-na-reklame.html
如何使用mod-rewrite
做到这一点?我不明白RewriteRule。
我的.htaccess
RewriteEngine On
RewriteCond %{REQUEST_URI} (ftp|https?):|/etc/ [NC,OR]
RewriteCond %{QUERY_STRING} (ftp|https?):|/etc/ [NC]
RewriteRule .* - [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .*\.html$ index.php [L]
+1为最快的答案! – jsalonen
我不知道在哪里插入这一行。 –
将它插入在'RewriteEngine On'正下方,您只需要RewriteRule线,因为您已经开启了引擎。 –