最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

pagination - Remove "Page" from Category archive

programmeradmin1浏览0评论

For the moment my site category archive URL show as

example/blog/category/all/page/2/

I want to remove "page" from slug so it should display as:

example/blog/category/all/2/

Any tips how I can do that?

For the moment my site category archive URL show as

example/blog/category/all/page/2/

I want to remove "page" from slug so it should display as:

example/blog/category/all/2/

Any tips how I can do that?

Share Improve this question edited May 13, 2019 at 13:34 fuxia 107k39 gold badges255 silver badges459 bronze badges asked May 13, 2019 at 11:59 Rajika NanayakkaraRajika Nanayakkara 1011 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

In the backoffice of wordpress you can choose your own permalinks.

In Settings > Permalinks, you will be able to change that by your own structure.

You will have severals parameters, like %year%, %postname%, %author%, etc.

You will have to choose for your example : example/blog/category/all/%postname% .

The other idea, is maybe to create an article, to put this article in a specific category then your permalink will be as you want.

发布评论

评论列表(0)

  1. 暂无评论