Moving from AMP to Non-AMP

amp

(Rishabh Sharma) #1

Currently I have AMP on my site but the UI is looking very poor. Im thinking to move from AMP to Non-AMP will it create any issue? Will google automatically change them into normal pages once I deactivate the AMP plugin?


Is it required to use AMP plugin on our website?
(Pradeep Kumar) #2

Since most of your pages will be like example.com/hello-world/amp, it might create some issues after you disable the plugin or like totally deactivating AMP on your blog. You can use this .htaccess code for redirection:

#Redirect AMP URLs

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

UPDATED: If this is not working, do kindly try this:

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


(Rishabh Sharma) #3

It wont give any error, right? Google will recrawl it and show the links at the same rankings?


(Pradeep Kumar) #4

I’m not completely sure about this, but I think this ‘activating/deactivating’ AMP won’t cause any issues to your existing rankings bro.


(Rishabh Sharma) #5

Do I need to add only RewriteRule (.*)/AMP$ $1 [NC,R=301,L] in htacess file?


(Pradeep Kumar) #6

Yes, that should help with the redirection… do let me know if you are facing any issues. :slight_smile:


(Rishabh Sharma) #7

Bro its showing 404 error on AMP pages.


(Pradeep Kumar) #8

Kindly share the link here bro, let me check. :slight_smile:


(Pradeep Kumar) #9

@Rishabh, can you kindly try this then bro?

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


(Rishabh Sharma) #10

Still Not working bro.

Im adding the above code in .htacess file via yoast tools.


(Pradeep Kumar) #11

Let me check and update you back bro. Meanwhile, if you find any solution, kindly share with us as well. :slight_smile:


(Pradeep Kumar) #12

UPDATE: Kindly try this redirection code as well, please. :slight_smile:

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