1
如何添加html的鏈路的末端使用的.htaccess
正常顯示添加WordPress的永久鏈接.html擴展
http://med.advpedia.com/birthday-party-supplies/1st-birthday-2/lil-prince-1st-birthday-standard-party-pack
我希望所有的鏈接是這樣
http://med.advpedia.com/birthday-party-supplies/1st-birthday-2/lil-prince-1st-birthday-standard-party-pack.html
當該鏈接改變(添加.html)應該不是404頁面未找到
這是currnet .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress