简体   繁体   English

仅更改特定页面的永久链接结构-WordPress

[英]Change permalink structure only for particular page - WordPress

I want to create a page with a path like this: 我想创建一个具有以下路径的页面:

http://www.website.it/it/azienda/chi-siamo.html

My current website is like this: 我当前的网站是这样的:

http://www.website.it/chi-siamo.html

I added the .html with the html in url plugin ( https://wordpress.org/plugins/html-in-url/#installation ) 我在url插件中添加了.html和html插件( https://wordpress.org/plugins/html-in-url/#installation

How can I add the - /azienda/ chi-siamo.html, but only for that page . 如何添加- / azienda / chi-siamo.html, 但仅适用于该页面

A different page needs to be: http://www.website.it/it/multigallery/gallery/index/galleryid/1/realizzazioni.html/ 另一个页面需要为: http://www.website.it/it/multigallery/gallery/index/galleryid/1/realizzazioni.html/ : http://www.website.it/it/multigallery/gallery/index/galleryid/1/realizzazioni.html/

while I have: 虽然我有:

http://website.it/multigallery.html

Is this even possible ? 这有可能吗?

Note: I am using the Jupiter Theme and I have Polylang installed (2 languages active) 注意:我正在使用“木星主题”并且安装了Polylang(两种语言处于活动状态)

Create a page with the slug azienda and then make the chi-siamo page a child of it. azienda创建一个页面,然后将chi-siamo页面作为它的子页面。

You might be able to achieve the other URL with some custom rewrite rules . 您可能可以使用一些自定义重写规则来实现另一个URL。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM