S
S
skyfly20102018-01-15 13:35:44
JavaScript
skyfly2010, 2018-01-15 13:35:44

How to integrate AMP into a site without cms?

Good afternoon, wt. specialists. Tell me, how can I integrate AMP into a site that does not use popular cms like WP? From what I understand now - you just need to connect the library and mark up the pages in a certain way. Can someone provide a link to the integration instructions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Fedorov, 2018-01-15
@skyfly2010

1. create a rule on the site in the routing or the /amp/ directory (depending on how you have it)
so that all your pages are "duplicated"
But the one on the /amp/... route should be served according to a certain markup. that is, you need to either fix the markup or template, or whatever you have... I don’t know
2. Then you need to indicate on regular pages a reference to the AMP version:
https://www.ampproject.org/ru/docs/tutorials/creat. ..
Everything! Google will cache your pages and serve user-friendly content from their site
More details: https://www.ampproject.org/ru/docs/tutorials/create

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question