Forwarding link like this pattern

Hi there,

I need to forward URL like below

Original: https://blog.ihmahmoodi.ir/amp/teaching/english-teaching/

If the URL matches: https://blog.ihmahmoodi.ir/amp/*
to
Forward URL (AMP removed): https://blog.ihmahmoodi.ir/teaching/english-teaching/

Generally, I need to forward AMP pages to original ones.

How can I do this?

Very simple! Assuming you’re using Page Rules you can just use $1.
For example:

If they go to https://blog.ihmahmoodi.ir/amp/teaching/english-teaching/ they’ll be redirected to https://blog.ihmahmoodi.ir/teaching/english-teaching/

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.