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

plugins - How to add a prefix to a WordPress post preview url?

programmeradmin3浏览0评论

I need to remove any query parameters from the WordPress post preview URL.

I need to access and see the same post preview I would see on /?p=12345&preview=true

It can not redirect, the URL in the browser must still be

As an alternative, adding a prefix to the original WordPress post preview url would also be enough: /?p=12345&preview=true

How can I achieve one of these without changing the URLs of the published posts?

The motivations is that I need a URL with a prefix to create a bypass route on CloudFlare Workers.

ps.: Cloudflare Page rules are different than Cloudflare Workers Routes. The Worker Routes does not support query parameters on it.

发布评论

评论列表(0)

  1. 暂无评论