MyBB Community Forums

Full Version: How to use AMP (Accelerated Mobile pages)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how to use accelerated mobile pages in mybb?

it is showing up in google search console.

If anyone has any idea about it, kindly post.
I am sorry I can not answer your question, since I have no idea about Accelerated Mobile Pages (AMP) before.  While, I google this concept, it is very interesting.  I will consider this approach in my future development.
I have same question
How to use AMP in mybb?
Intersting concept love to hear about this more. May be you have to make a theme using amp. That may help you with that.
Look like AMP is mandatory for every web site.  I will try to make an AMP complied theme for MyBB 1.8.  Any progress and/or problem, I will let you know.
All,

I develop a prototype AMP solution: https://community.mybb.com/thread-211403.html .

Any comments are welcome.

Rickey
What do you mean by an AMP complied theme ? Since page content is not static, will it help ?
Developing something that depends on an user-agent redirect is not taking MyBB forward IMO.

Taken from Google:

We recommend using responsive web design because it:


  • Requires no redirection for users to have a device-optimized view, which reduces load time. Also, user agent-based redirection is error-prone and can degrade your site’s user experience (see Pitfalls when detecting user agents" section for details).
https://developers.google.com/webmasters...ive-design

For more on AMP see:

https://www.ampproject.org/
I know what AMP is. Even suggested AMP support for MyBB. Lead Developer @Euan termed it as not suitable for forums. There were also a few people who thought the same.

Do you use AMPed HTML in this ? I am really confused on what you are offering.
(2017-06-27, 06:37 PM)meetdilip Wrote: [ -> ]What do you mean by an AMP complied theme ? Since page content is not static, will it help ?

Hi meetdilip,

Good question.  I will describe my understanding.  Please correct me if I am wrong.

AMP does use Google cache proxy.  While, 
1. we can add link from Google cached pages to original forum thread, as described in: https://www.alexkras.com/google-may-be-s...e-traffic/ -- so end users can get the completed post.

2. we can force Google cache to refresh when forum have new thread/reply/edit, as described in: https://getmxt.com/update-google-amp-cache .

3. we can use cache-control header: https://stackoverflow.com/questions/4480...he-control to ask Google to refresh the cache more frequently.

Actually, I have the same concern as you on this dynamic content issue, even someone on Internet said dynamic is OK for AMP: https://productforums.google.com/forum/#...s/category$3Aaccelerated-mobile-pages-amp  While, since AMP complied mobile web pages will have a higher rating in Google search result, my understanding is, I want to have a try, and find what will actually happen and how many issues I can solve.

Any comments are welcome.

Rickey

(2017-06-28, 03:03 PM)meetdilip Wrote: [ -> ]I know what AMP is. Even suggested AMP support for MyBB. Lead Developer @Euan termed it as not suitable for forums. There were also a few people who thought the same.

Do you use AMPed HTML in this ? I am really confused on what you are offering.

There is one issue you should take care, I do not know if this is your point, I just describe here: it is very hard, even impossible to make the default theme to comply with AMP, because this will be a lot of code change, and many plugins/themes will have to be re-written.  My suggestion is we implement it in a plugin/theme, and use a detection and redirection script to activate this plugin/theme when end users come from mobile devices.