为您的网站提供AMP化改造,可自动生成符合AMP规范的模板。可选择安装组件支持门户文章页,论坛内容页和群组内容页等。
本插件需购买组件:论坛贴子页组件 (演示) 门户文章页组件 (演示)
=================AMP网址方案=============================
方案一:
https://demo.onexin.com/amp/thread-461-1-1.html
https://demo.onexin.com/amp/article-11-1.html
方案二:
https://demo.onexin.com/amp-thread-461-1-1.html
https://demo.onexin.com/amp-article-11-1.html
方案三(未启用伪静态时):
https://demo.onexin.com/forum.php?mod=viewthread&tid=461&=1
https://demo.onexin.com/portal.php?mod=view&aid=11&=1
注:推荐固定使用其中一种方案。
=================伪静态规则=================
# APACHE AMP
RewriteRule ^amp([^\.].*)?$ plugin.php?id=onexin_amp&rewrite=$1&%1
# Nginx Web Server
rewrite ^([^\.]*)/amp([^\.].*)?$ $1/plugin.php?id=onexin_amp&rewrite=$2 last;
=================更多AMP知识=================
如何优化移动页面,你需要了解AMP和PWA
https://mp.weixin.qq.com/s/pqC-iPFX6DzGTPTwqMhzLA