• Resolved kduadmn

    (@kduadmn)


    Hi, I used this plugin almost a year ago but google is still crawling hundreds of urls like:

    www,example,com/search/amp/page/88/?updated-max=2013-01-17T22:21:00+05:30&max-results=9&reverse-paginate=true

    Please help me to redirect or remove these URLs.

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Akshay A

    (@akshaycode1)

    Hi,

    Thank you for reaching out to us. Are you using any caching plugins or a CDN like Cloudflare?

    Thread Starter kduadmn

    (@kduadmn)

    Thanks for the reply.

    I’m using the LiteSpeed Cache plugin without any CDN.

    Plugin Support Akshay A

    (@akshaycode1)

    Hi, Kindly share the URL once so we can check.

    Thread Starter kduadmn

    (@kduadmn)

    Plugin Support Akshay A

    (@akshaycode1)

    Hi,

    Thanks for sharing this. This issue can only be fixed manually. Here’s what’s happening in your case even though you’re no longer using AMP on your website, Google may still crawl and index URLs like:
    https://www.dyarakotiuk.com/search/amp/page/88/

    This happens because when AMP was enabled, Google indexed those AMP-specific URLs. If they were never redirected or removed, Google continues to treat them as valid. So, if someone visits an AMP version through old backlinks or cached data, or if Google finds it again, it may still crawl the page. If your site serves content at those URLs and returns a 200 OK status, Google assumes the page is active and keeps it in the index.

    You can check the status of any URL here: httpstatus.io

    To solve this you can follow below steps:

    • Set up a 301 redirect from the AMP version to the original (non-AMP) version. This tells Google the page has permanently moved. Or return a 404/410 for those AMP URLs. This signals to Google that the page no longer exists and should be removed from the index.
    • Go to Search Console → Removals → New Request . Enter the AMP URL (e.g. /search/amp/page/88/) and submit it. This doesn’t delete the URL permanently but hides it from search results while Google updates its index.

    This way, either with redirects or removal, Google will eventually stop crawling and indexing those AMP URLs. Try this and let us know if you need any further help.

    Thread Starter kduadmn

    (@kduadmn)

    Thanks for clarifying the issue.

    I want to set up a 301 redirect from the AMP version to the non-AMP version via .htaccess but don’t know the code. Would you please share it?

    To set up a 301 redirect from all URLs like https://www.dyarakotiuk.com/search/amp/page/88/ to https://www.dyarakotiuk.com/page/88/

    Plugin Support Akshay A

    (@akshaycode1)

    Hi, please try the code below:

    RewriteEngine On
    RewriteCond %{QUERY_STRING} (^|&)amp=1(&|$)
    RewriteRule ^(.*)$ /$1? [R=301,L]

    Give it a try and let us know if it works for you.

    Thread Starter kduadmn

    (@kduadmn)

    It’s not working.

    Plugin Support Akshay A

    (@akshaycode1)

    Hi, we are currently checking your concern and will provide you with an update soon.

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

The topic ‘remove or redirect amp urls’ is closed to new replies.