amp-wp icon indicating copy to clipboard operation
amp-wp copied to clipboard

Links direct to other AMP posts in site

Open altonius opened this issue 10 years ago • 9 comments

Similar to #221 AMP pages can be dead ends. I.e. if you click on a link to another post, in an AMP post within the site, it provides a link to the standard post (not the AMP version).

Could you consider adding an enhancement that allows you to enable some sort of automated AMP to AMP links within a site when you link to another post?

altonius avatar Nov 14 '16 23:11 altonius

looking for this too.. Did you have an answer somewhere ?

Unfortunately not yet

On Tue., 6 Dec. 2016, 19:33 jimmy-espace-musculation, < [email protected]> wrote:

looking for this too.. Did you have an answer somewhere ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Automattic/amp-wp/issues/570#issuecomment-265090928, or mute the thread https://github.com/notifications/unsubscribe-auth/AGHIBBkREZqlQ0WVXh0tAYWbNqZwjvVsks5rFR3RgaJpZM4Kx9bG .

altonius avatar Dec 06 '16 08:12 altonius

Do you mean like this http://techprezz.com/howto/how-to-add-social-media-buttons-to-accelerated-mobile-pages-without-plugin/amp/ where all the links within the content and related posts direct to another AMP page instead of usual non-amp version of the site??

jery61007 avatar Dec 21 '16 16:12 jery61007

yess !! :)

Good.. Then here is a post how to convert the links on Accelerated Mobile Pages to its AMP version

Hope this helps....

Thanks!

jery61007 avatar Dec 23 '16 09:12 jery61007

Thanks Jerry, now we just need something similar included in the AMP plugin.

On Fri, 23 Dec 2016 at 20:53 Jerry Jack [email protected] wrote:

Good.. Then here is a post how to convert all the links on Accelerated Mobile Pages to its AMP version http://techprezz.com/howto/how-to-convert-all-the-links-in-wordpress-accelerated-mobile-pages-to-amp-version/

Hope this helps....

Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Automattic/amp-wp/issues/570#issuecomment-268965533, or mute the thread https://github.com/notifications/unsubscribe-auth/AGHIBKasghMFJKD-c1IcrXWFMeWszRNxks5rK5osgaJpZM4Kx9bG .

altonius avatar Dec 23 '16 09:12 altonius

Actually Some bloggers want to direct them to non-amp version of the blog, so if they include the feature in the plugin itself then they should give two options, convert or keep it default non-amp.

jery61007 avatar Dec 23 '16 10:12 jery61007

Sounds good, can you add your code as a pull request somewhere so they can decide how / whether to include it?

On Fri, 23 Dec 2016 at 21:03 Jerry Jack [email protected] wrote:

Actually Some bloggers want to direct them to non-amp version of the blog, so if they include the feature in the plugin itself then they should give two options, convert or keep it default non-amp.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Automattic/amp-wp/issues/570#issuecomment-268966765, or mute the thread https://github.com/notifications/unsubscribe-auth/AGHIBKyc8TMy11RhI0pkO6PueVt5ypThks5rK5yIgaJpZM4Kx9bG .

altonius avatar Dec 23 '16 10:12 altonius

Closing for now; if you would like contribute an approach to achieve this, please create a PR for it to be considered.

amedina avatar Jul 06 '17 01:07 amedina