有没有办法在AMP Stories中保留原始URL?

问题描述 投票:0回答:1

我们的企业已决定使用AMP故事,他们希望他们的故事保留原始URL。我知道它在AMP页面中是可能的,但是也可以在AMP故事中完成吗?

URL应该是https://www.example.com/amp/stories/xyz代替https://www-example-com.cdn.ampproject.org/www.example.com/amp/storie/xyz

在此感谢您的帮助。

amp-html amp-stories asynchronous-messaging-protocol
1个回答
0
投票

是的,这应该与使用签名交换的常规AMP页面一样工作。

如果使用CloudFlare,这是一键式操作:https://blog.amp.dev/category/signed-exchanges/

或者您可以自己实施签名交换:https://amp.dev/documentation/guides-and-tutorials/optimize-and-measure/signed-exchange/

© www.soinside.com 2019 - 2024. All rights reserved.