How to Exclude URL’s from Rewriting in AMP pages
-
Hi,
I saw that AMP plugin is adding ?amp on all URLs and I need to know if there is any way to exclude a particular URL to send the user to non-AMP pages. I’ve some elements on custom post type which only works on non-AMP pages. Hence I included a notification to send users to non-AMP pages if they want and now that URL is also getting rewritten to AMP URL.
How do I exclude that URL from rewriting?
I’ve only added
href="<?php the_permalink();?>"
to add the current URL viaamp-user-notification
function.The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to Exclude URL’s from Rewriting in AMP pages’ is closed to new replies.