• Resolved pharmanext

    (@pharmanext)


    Hi,

    How can I completely remove absolutely ALL of the plugin’s entries from the database?

    I deleted the plugin from the installed plugins.
    But its remnants keep interfering with the functionality of the site.
    So, search engines keep finding pages with added amp and trying to index them.
    For example, https://domain.com/news/11636?amp and https://domain.com/news/21717?amp=1
    At the same time all amp pages are redirected to the same page https://domain.com/news/6759.

    I had to make an addition to the .htaccess

    # BEGIN AMP
    RewriteEngine On
    RewriteBase /
    RewriteCond %{QUERY_STRING} ^amp$
    RewriteRule ^(.*)$ /$1? [R=301,L]
    # END
    # BEGIN AMP
    RewriteEngine On
    RewriteBase /
    RewriteCond %{QUERY_STRING} ^amp=(.*)$
    RewriteRule ^(.*)$ /$1? [R=301,L]
    # END

    However, I would like to know how to get rid of all the plugin code completely.

    Thank you in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Completely Remove Plugin Code’ is closed to new replies.