Setup completed
You have made sure all your pages are valid, we're all set to fully enable AMP pages on your site:
If you did not change the operation mode from its default value of
Development
, now is the time to switch back toNormal
mode. The development mode has let you setup AMP and validate your pages. Switching to Normal mode will make your AMP pages "public", visible to Google and others.
AMP pages are now advertised
Making your AMP pages visible to search engines is done by automatically inserting a rel
tag in your regular pages, when they have an AMP version:
<link rel="amphtml" href="https://demo.weeblrpress.com/general/amp/"/>
AMP pages are now served
When a user or a search engine requests the AMP URL specified in the rel
tag above, weeblrAMP will detect it and serve a specially formatted, AMP-compliant page:
This page in turns contains a canonical tag, that points back to the main, regular HTML, version of the page, so that no duplicate content happens and search engines can relate both pages:
<!doctype html>
<html lang="en-US" amp>
<head>
<meta charset="utf-8">
<meta name="viewport"
content="width=device-width,initial-scale=1,minimum-scale=1">
<!-- weeblrAMP: page meta data-->
<link rel="canonical" href="https://demo.weeblrpress.com/general/amp" />
<title>A multi-purpose AMP-enabled site – Just another weeblrAMP demonstration site</title>
<!-- weeblrAMP: page meta data -->
By the way, this is a live example, our demonstration site. Feel free to navigate it all, if you have not already. It lives at demo.weeblrpress.com. This example is fairly simple in design, but you can use your own CSS, images, and some AMP-specific tags that we will cover in the Going further section of this documentation.