I want to convert old links amp links to basic topics in wordpress
Via the .htaccess file
I tried this code but it did not work

Redirect old AMP URLs

RewriteRule (.*)/AMP$ $1 [NC,R=301,L]

Redirect old AMP URLs

RewriteRule (.*)/amp/$ $1 [NC,R=301,L]

I want Redirect from (http://example.com/news/55/amp/) to (http://example.com/news/55/amp/)

Read more here: Redirect from AMP URLs to Real URLs


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: