NEWS| TOPLIST | HOW-TOS |


AMP URL Rewriter Plugin: Rewrite amp urls [from /amp and /?amp] to non-amp


 

Hello guys,

welcome to my blog, as you may already know me, I am Coker Hope Afe, proud owner of this blog (Naijatechnews.com) and today i will give you a permanet solution in fixing amp errors, perhaps as it has been reported through your Google search console (GSC). You don’t need to be scared or worried if you have no knowlege of coding or php because wordpress has made it easy for everyone to handle and resolve problems without prior knowledge of progamming. Wonderful right? Yes it is definitely.

 

So, I have developed a plugin to handle this issue and erase all urls (links) with /amp and /?amp to non amp which is the clean default url.

For instance: https://www.naijatechnews.com/dream-league-soccer-2021-mod-apk-dls-21-unlimited-coins/amp to https://www.naijatechnews.com/dream-league-soccer-2021-mod-apk-dls-21-unlimited-coins/

and

https://www.naijatechnews.com/dream-league-soccer-2021-mod-apk-dls-21-unlimited-coins/?amp to https://www.naijatechnews.com/dream-league-soccer-2021-mod-apk-dls-21-unlimited-coins

Isn’t that sweet ? yea! It is and you love it. It automatically redirect URLs with the /amp/ and /?amp query to normal URL. This is only useful when removing the AMP plugin. The plugin will do nothing, if the AMP plugin is active, I mean the plugin won’t work if you have the amp plugin activated. So be sure that you have deactivated the amp plugin first if haven’t done that already.

You may just flush your permalinks, if you experience any problems.

Check also: How to best resize a photo, all methods you need is here & Wordfence Security Premium v7.4.12 – Total Protection 

How To Install The Plugin

Since this is a quiet lengthy article, we have added a table of contents for easier navigation.

Instructions on how to install the AMP URL Rewriter WordPress plugin

There are two ways to do it:

  1. Installing via WordPress Admin
  2. Installing via FTP/Cpanel

Installing via WordPress admin

That’s done.

See also: How to Protect WordPress Themes Wp-content from Hack

Installing via FTP/CPANEL

  1. First, Download the Plugin from Here
  2. Login to ftp or your cpanel or hosting account > cpanel/ftp filemanager
  3.  cpanel > Public_html > Wp-content > plugins
  4.  Upload the AMP URL Rewriter WordPress plugin you have downloaded
  5.  After successfully uploaded, then Extract the file because it’s in zip file
  6. Then activate the plugin  via the WordPress admin  (e.g. activate).

Done.

Hope you enjoy the ? share

 

Leave a Comment


No Responses Yet

Leave a Reply

NOTE:- Make your comment a bit long to get it approved.




Go Back To The Top

✰✰✰✰✰ Naijatechnews is the best blog for technology news, howto tech, Gadget Reviews, Gaming, DIY and Apps download. Stay glued with us and enjoy technology 24/7.