Site na AMP maka ngwa mgbakwunye PHP ị nwere ike mfe, kpamkpam na -akpaghị aka, mepụta ibe Google AMP maka weebụsaịtị gị.
Mee ka ebe nrụọrụ weebụ PHP gị kachasị mma maka ngwaọrụ mkpanaka yana Google Mobile First Index na- enweghị ịhazi usoro AMPHflix gị maka ibe gị!
Nwalee ya: Wụnye. Mee ọ rụọ ọrụ. Emechara!
Ntuziaka tupu ịmalite ịwụnye nkwụnye PHP-AMP: Maka ụfọdụ ngwọta CMS, amp-cloud.de na-enye Google plug-ins Google AMP pụrụ iche nke dị mfe ịwụnye ma jikwaa! - Dịka ihe ọzọ na "AMP maka nkwụnye PHP" , otu n'ime ihe nkwụnye Google AMP ndị a nwere ike ịmasị gị:
Budata "AMP maka ngwa mgbakwunye PHP" ugbu a dị ka faịlụ ZIP site na njikọ njikọ nbudata. - Faịlụ ZIP nwere folda akpọrọ "amp" nke nwere faịlụ niile achọrọ iji wụnye ma jiri nkwụnye AMP.
Wepụ / wepụ faịlụ ZIP ebudatara.
Bulite folda ahụ na - emegheghị aha ya "/ amp /" n'ime ndekọ mgbọrọgwụ nke sava weebụ gị ka folda ahụ nwee ike iru na weebụsaịtị gị n'okpuru URL ndị a:
Iji nwalee ma echekwara folda ahụ na sava weebụ gị, kpọọ URL na - esonụ - Ọ bụrụ na nrụnye ahụ ziri ezi, ị ga - ahụ ozi ga - agwa gị na webụsaịtị gị na - eji nkwụnye AMP site na amp-cloud.de, ma ọ bụghị na ngwa mgbakwunye adịghị arụnyere n'ụzọ ziri ezi na ị kwesịrị ị na-aga site n'elu nzọụkwụ ọzọ:
N'ikpeazụ, gụnyere ịkwanye ntọala nke ọ bụla , nke ịchọrọ ịnye ụdị AMP, na -eji otu n'ime ụdị ndị a a <njikọ rel = "amphtml"> - otu ụbọchị na <isi> ngalaba nke ntọala kwekọrọ.
<njikọ rel = "amphtml" href = "http: // www.DeineDomain.de /amp/amp.php?url= IhrArtikelURL " />
<link rel="amphtml" href=" http:// ".$_SERVER['HTTP_HOST']."/amp/amp.php?url=".urlencode(" http:// ".$_SERVER['HTTP_HOST'] '].$_SERVER['PHP_SELF']"?".$_SERVER['QUERY_STRING']."")."" />
<?php echo " <!DOCTYPE html> <html> <head> <title> Meta aha gị ... </title> <link rel="amphtml" href="https://".$_SERVER['HTTP_HOST']."/amp/amp.php?url=".urlencode("https://".$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING']."")."" /> </head> <body> Koodu isi aru gi ... </body> </html> ;" ?>
AMP nke ọrụ gọọmentị maka ngwa mgbakwunye PHP sitere na amp-cloud.de na-arụ ọrụ Peeji Mepụta Accelerated (AMP) na weebụsaịtị PHP gị, n'okpuru onye nwe gị, dịka ntuziaka ndị ọbịa Google AMP kwadoro!