• Resolved stmich

    (@stmich)


    I had used amp on a website. and then removed it after 2 months or so. I deleted the plugin. And didnt redirect the urls. Now when i am trying to redirect with this code in .htaccess –

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

    nothing happens – it remains on the same page. ie it is not redirecting to the non-amp version.

    When i check the amp url on a website crawler it says –  the canonical tag is pointing to the non-amp version. Is there anything else i should do?

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

The topic ‘amp redirection’ is closed to new replies.