0
在WordPress中,從WordPress的默認分類的永久鏈接結構拆下前
我有固定鏈接結構,像這樣:
example.com/blog/%postname%/
這是我想爲我的博客和帖子,但是這將創建默認分類固定鏈接結構爲:
example.com/blog/category/slug-here/
example.com/blog/tag/slug-here/
相反,我需要的是不前(「博客」),例如
example.com/category/slug-here/
example.com/tag/slug-here/
我使用的是默認類別和標籤上的自定義文章類型太多,所以我不希望永久鏈接包括「/博客/」基地。
這只是一個設置with_front到某種程度上錯誤的類別和標籤的問題?