Streaming live at 10am (PST)

Problem with AMP Implementation


#1

I'm trying to include AMP in the pages of a project. I searched the forum and realize that webiflow still does funcionadalida.

The recommended option is:

https://mercury.postlight.com/amp/setup

I used the default installation code

My doubt is how can I apply this in CMS pages, creating viriavel to the URL of the page dynamic.

You can understand my problem? I want to change the url = http: //www.example.com/sample-article.html by variable accepted by webflow.

this will help a lot in SEO all webflow users.


#2

I'm moving this to the code help section.


#3

Did you figure this out?

It is very easy to do this using Mercury Postlight. Here is what to do:

<link rel="amphtml" href="https://mercury.postlight.com/amp?url=http://www.example.com/(slug)>

slug is the URL Slug of the post - you can add this by using +add field option in the custom header code section.

Also remember to Google Structured Markup for your pages so it is effectively picked up by Google.

Lastly, make sure you head to Google Search Console and see if these pages are being indexed.


#4

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.