Title: Amp mobile redirection plugin not working
Last modified: March 4, 2020

---

# Amp mobile redirection plugin not working

 *  Resolved [omnitos](https://wordpress.org/support/users/omnitos/)
 * (@omnitos)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/amp-mobile-redirection-plugin-not-working/)
 * Amp mobile redirection plugin not working which was created by Weston Router 
   version 0.2. The site is not redirecting to /?amp when visited from mobile, the
   newspaper theme is compatible and using transitional mode. Please check!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Famp-mobile-redirection-plugin-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/amp-mobile-redirection-plugin-not-working/#post-12509098)
 * That plugin was experimental.
 * Try this alternative which should be more robust: [https://gist.github.com/westonruter/5f4f27ed3bdd676e3f08524b9bab8bb4](https://gist.github.com/westonruter/5f4f27ed3bdd676e3f08524b9bab8bb4)
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/amp-mobile-redirection-plugin-not-working/#post-12509101)
 * Nevertheless, this alternative relies on the v1.5 version of the plugin which
   will not be available until the end of this month.
 *  Thread Starter [omnitos](https://wordpress.org/support/users/omnitos/)
 * (@omnitos)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/amp-mobile-redirection-plugin-not-working/#post-12509104)
 * Well, ok. That 0.2 one worked fine for just 5 minutes and then stopped working.
   I see the second one which you are referring to uses javascript, which might 
   have performance setbacks, can you please fix that 0.2 one only, take your time!
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/amp-mobile-redirection-plugin-not-working/#post-12509112)
 * If 0.2 just stopped working then I do not know what caused it; I’m not going 
   to be maintaining that version. The approach in the PHP-based version is not 
   reliable because it can’t take into account page caches. This may be why it stopped
   working for you. JS-based redirection is the only way to be sure that redirection
   can happen across all environments.
 *  Thread Starter [omnitos](https://wordpress.org/support/users/omnitos/)
 * (@omnitos)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/amp-mobile-redirection-plugin-not-working/#post-12509120)
 * Yeah probably because of cache! I see, ok I will wait for 1.5 of this js based
   plugin to release!
 *  Thread Starter [omnitos](https://wordpress.org/support/users/omnitos/)
 * (@omnitos)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/amp-mobile-redirection-plugin-not-working/#post-12509123)
 * Can you tell how to fix this best practice in lighthouse test? passive listeners
   
   [https://prnt.sc/rbmqhh](https://prnt.sc/rbmqhh)
 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/amp-mobile-redirection-plugin-not-working/#post-12509164)
 * Please open a new topic.

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

The topic ‘Amp mobile redirection plugin not working’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/amp-mobile-redirection-plugin-not-working/#post-12509164)
 * Status: resolved