.htaccess code to redirect AMP pages to normal pages after removing the WordPress AMP plugin

We add the code to the top of the .htaccess file, guys. (If you add it lower down, it may not work.) It redirects those pages directly to the relevant article page to prevent 404 errors on AMP pages after installing and later removing AMP.
For example:
procry. com/ilgili-konu/amp/ => procry. com/ilgili-konu/

RedirectMatch 301 ^/(.+)/amp(/.*)?$ /$1$2

Amp kullananlar bir süre sonra vaz geçiyor, bu kod bir çok kişi için can kurtarıcı olmuş

When giving up on and deleting AMP, many people unknowingly fail to set up redirects and suffer significant losses in hits. In some sectors and sites, revenue drops, etc., can occur after AMP. Therefore, it is a code that should be kept handy.

Rıfkı bizi burada da aydınlatacak mı üstad ? Uzun zamandır kaliteli seo sem paylaşımlarına hasret kaldık. Zira sırf bunun için üye oldum burayada, fakat kategoride rüzgarlar esiyor :slight_smile:

Rıfkı pipisini savuttura savuttura takılıyor, takılacak :smiley:

Valla sorun yok herkeste var o pipi den ama arada rüzgarı essin ki bizlerde sürekli kalalım. Serinleyelim sayesinde :slight_smile:

:smiley:
Rıfkı says okay. He says Brother Göktürk shouldn’t worry, the dollar will overflow there soon.