How to Add amphtml tag Automatically?


#1

Dear Blogger, I have run an Entertainment Blog http://filmsbit.com . recently i have decided to make my blog AMP version. But Can’t. After searching web i came to know about amphtml tag have to use for non AMP site. So i have create sub-domain http://m.filmsbit.com . and sub-domain blog is Fully AMP validated. According to AMP rules, I have used amphtml tag on my non amp site (i.e filmsbit.com): the code is:

And in AMP site (i.e. m.filmsbit.com) I have used following tag

Problem is i have put this code manually & Only index page are mentioned. But i want all post will put in tag automatically. For Example: In Non-AMP site (filmsbit.com) the tag will be:

And in AMP site (m.filmsbit.com) the tag will be:

Anyone can help me regarding this??

Thanks