Title: Non-AMP link
Last modified: May 7, 2020

---

# Non-AMP link

 *  Resolved [leralk](https://wordpress.org/support/users/leralk/)
 * (@leralk)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/non-amp-link/)
 * Hello,
 * I want to inlcude a link to non-AMP version of the page for the users. How can
   I do it?
 * It looks like every internal link on the site gets “?amp” parameter regardless
   of what I’m doing.
 * Thank you
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fnon-amp-link%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/non-amp-link/#post-12795939)
 * [@leralk](https://wordpress.org/support/users/leralk/) For any links within an
   AMP URL you can apply the `rel=noamphtml` attribute for a link to the non AMP
   version. To ensure the link only appears on AMP URLs you can use `is_amp_endpoint`
   as below:
 *     ```
       <?php if ( function_exists( ‘is_amp_endpoint’ ) && is_amp_endpoint() ) : ?>
       <a href="https://example.com" rel="noamphtml">To non-AMP</a>
       <?php endif; ?>
       ```
   
 * You can disable AMP to AMP linking overall using the below filter:
 * `add_filter( 'amp_to_amp_linking_enabled', '__return_false' );`
 * You’ll find out more on the above, along with an exclude URL filter below:
    [https://github.com/ampproject/amp-wp/pull/4146](https://github.com/ampproject/amp-wp/pull/4146)
 *  [lelka](https://wordpress.org/support/users/gvaleria/)
 * (@gvaleria)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/non-amp-link/#post-12796061)
 * Super, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Non-AMP link’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [lelka](https://wordpress.org/support/users/gvaleria/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/non-amp-link/#post-12796061)
 * Status: resolved