• Hello,
    A few days ago I installed DaftPlug Instantify – PWA & Google AMP & Facebook IA Plugin, which automatically enabled AMP on my site, but I didn’t know about it until yesterday.
    Yesterday, out of curiosity, I entered my website address in the Google search engine on my smartphone and entered my website and saw that it turns on in Google AMP.
    I turned off AMP in this plugin, but all the time after entering Google on the smartphone, the page starts in AMP.
    How can I turn it off?
    Please help.

    Sorry for my english, i’m from another country.

    • This topic was modified 4 years, 7 months ago by berciu999.
Viewing 3 replies - 1 through 3 (of 3 total)
  • @berciu999 Deactivating AMP plugin will not remove the mobile page versions of your articles/posts on your website simply because google already has those pages cached in their index. To resolve this, you need to redirect users to non-AMP pages. Here is how you do it:

    1. Connect to your website using an FTP client or through File manager in cPanel.
    2. Add the following code at the bottom of .htaccess file:

    // Redirect AMP to non-AMP 
    RewriteEngine On
    RewriteCond %{REQUEST_URI} (.+)/amp(.*)$
    RewriteRule ^ %1/ [R=301,L]

    3. Save changes and reload.

    Let me know if it helps.

    Thread Starter berciu999

    (@berciu999)

    @soberbanda Thank you for the quick reply.
    After pasting the code into the .htaccess file, the home page no longer turns on in AMP when entered from a google search engine, but some subpages that display under the home page in google search turn on in AMP

    • This reply was modified 4 years, 7 months ago by berciu999.

    @berciu999 Try using this plugin: https://wordpress.org/plugins/redirection/

    1. Add following code in the source URL:

    /(.*)\/amp

    2.In target URL, You need to add your website URL like this:

    http://example.com/$1 (Replace example.com with your website)

    Let me know if it helps.

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

The topic ‘AMP issue after disabling plug-in options’ is closed to new replies.