如何更改Wordpress中的永久链接格式? [英] How to change permalinks format in wordpress?
问题描述
很抱歉,我的问题是基本问题还是愚蠢问题.请帮助我在Wordpress上不熟悉的新方法.
Sorry if my question was basic or stupid. Please help me how to do this thing i m new to wordpress.
我在分页页面上有这样的永久链接
I have permalinks for pagination page like this
www.website.com/customtaxonomy.html/1
www.website.com/customtaxonomy.html/2
但我需要将此永久链接更改为
but i need to change this permalinks as
www.website.com/customtaxonomy.html?page=1
www.website.com/customtaxonomy.html?page=2
仅适用于分页页面.
推荐答案
我无法发表评论,因为我需要50个代表.我相信您将为此需要一个自定义功能,也许会有所帮助: https ://wordpress.stackexchange.com/questions/57070/change-the-page-slug-in-pagination -它并不完全相同,但可以帮助您弄清楚.我只能建议使用.htaccess文件进行重写.给它一个雄心勃勃的:简单的.htaccess redirect:如何使用参数重定向?
I cant comment as I need 50 rep. I believe that you will need a custom function for this, maybe this will help: https://wordpress.stackexchange.com/questions/57070/change-the-page-slug-in-pagination - its not directly the same but might help you figure it out. The only other thing I can suggest is a rewrite with the .htaccess file. Give this a ganders: simple .htaccess redirect : how to redirect with parameters?
这篇关于如何更改Wordpress中的永久链接格式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!