我想将帖子网址显示为http://domain.com/postcategory/postname 因此,我在自定义结构字段中输入了/%category%/%postname%,如下面的屏幕截图所示。但是,请点击此处的 Hello World!文章,该文章转到404页面:Blog Page (密码:444)
这是.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
所以最终的网址应该是:http://domain.com/tezhip/hello-world,但我无法让它发挥作用。你们认为这是由于WooCommerce吗?