Clicky

  1. Home
  2. How To
  3. How to remove the category base in the AMP

How to remove the category base in the AMP

If you removed the category base in your non-AMP version (normal website) then you need to remove it in AMP as well by following these steps.

For example:

From – http://example.com/category/sport/

To – http://example.com/sport/

Here are the steps to remove the category base in AMP:

Step 1 – Once you install and activate our AMPforWP plugin then we will have these two options.

  • Basic Setup View
  • Advance Setup View

You need to select the Advance Setup View option and then select Settings option like below the screenshot and all our options will appear.

Step 2 – First Go to the WordPress admin area -> AMP option panel -> Settings -> Advance Settings.

Step 3 – Scroll down a little to see this option.

  • Category base removes in AMP: Once you enable this option it will remove the Category base in AMP also.

Step 4 – Click on the “Save Changes” button.

That’s it for this tutorial!

We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.

Ask your Questions Directly!
If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!
Updated on January 31, 2020

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Comments

  1. When i do this, my posts link doesn’t open properly.. The post page load just the excerpt like a search result item or category page.. Any help?

    1. Hi Patrick Rodrigues,

      Could you please resave the permalinks and Will you please provide us exact URL where you are having an error so that we can check and get back to you.

    1. Hi Prakash Gohel,

      Will you please provide us exact URL where you are having an issue so that we can check and get back to you.

    1. Hi Prakash Gohel,

      Once you disable the AMP category then it will automatically be redirected to the Non-AMP category only and if you have amp then only it will go to AMP URL.

    1. Hi Gamze C,

      Could you please resave the permalinks and please let us know if there’s anything else we can do.

Leave a Comment