简体   繁体   中英

How to allow specific URL in WordPress

I need a little bit help on WordPress URL.

In Wordpress Backend, I have One page and the page slug is: listing-detail

When I try below URL into the browser it's working as per my expectation.

xyz.net/listing-detail/576905/

But When I try below URL it's giving me 404 page.

xyz.net/listing-detail/576905/abc

I have to allow xyz.net/listing-detail/576905/abc URL to call same as xyz.net/listing-detail/576905/

How can I achieve this thing in WordPress?

Can anyone help to regard this issue?

Thanks in Advance.

您可以使用WordPress 重写 API来指定新端点并告诉 WordPress 为它们显示什么。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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