Remove AMP links
-
Hi,
1/ When I use the code just below, an AMP page (landing page for my visitors) will display internal links with “
//amp/
” in their URL structure, that redirects to the AMP version of each page (the double ‘/
‘ before ‘amp/
‘ doesn’t seem to cause any problem, and I don’t know if it’s due to “CC Child pages” or to the AMP plugin I use, i.e. “AMP for WP” –https://fr.www.ads-software.com/plugins/accelerated-mobile-pages/
).[child_pages thumbs='large' link_thumbs="true" hide_more="true" link_titles="true" posts_per_page="10"]
2/ But, if I use :
[child_pages siblings="true" orderby="rand" thumbs='large' link_thumbs="true" hide_more="true" link_titles="true" posts_per_page="5"]
The internal links inside the AMP page are structured without ‘
/amp/
‘, which is perfect : I just want the landing page as an AMP page, not the next ones.So, how to remove the AMP version of the internal links when using the first shortcode, the one without the siblings ?
Thank you for your help,
Law
- The topic ‘Remove AMP links’ is closed to new replies.