Dynamic pages with PHP and AMP

1.7k views Asked by At

I've recently been looking into AMP for my webshop but in every post, thread, etc. I've read that AMP is purely static.

So my question is if it's possible or even worth it to make dynamic pages with AMP without creating a static page for each product page.

The reason I don't want static pages is because the prices get updated almost every week.

2

There are 2 answers

0
magallanes On

It's a free and easy to use library that could generate a static or dynamic amp site because it's generated by procedures (code).

https://github.com/EFTEC/AMPGeneratorOne

It's a demo page: (the footer and navigation was cut)

enter image description here

0
Priyam Kumar Das On

You can create google amp dynamic pages with PHP, node js or codeignitor or so..

you can check this out!

Step-by-step | Convert Dynamic Amp Page in PHP