accelerated-mobile-pages icon indicating copy to clipboard operation
accelerated-mobile-pages copied to clipboard

Select Categories to Hide AMP posts Not working perfectly

Open mohammed-qutubuddin opened this issue 3 years ago • 2 comments

Reference Ticket URL: https://secure.helpscout.net/conversation/1666262891/215598?folderId=1060556

Created a category and hide it in AMP through Select Categories to hide AMP post this option. The hide is working perfectly but to unhide that category, the category name is not showing. Reference video: https://take.ms/om0Mo

A user scenario is different, the user added 2 categories to hide, and later he removed the category/unhide then the old post is not redirecting to AMP, and the new post redirecting perfectly.

mohammed-qutubuddin avatar Oct 21 '21 11:10 mohammed-qutubuddin

Tested on local/garage and it is working fine. So closing this ticket

Zabi09 avatar Oct 27 '21 07:10 Zabi09

two years later and still having the same problem and you closed the ticket lol.. This problem I have on multiple installs all on different servers / environments.

tripledm avatar Jul 12 '22 11:07 tripledm

Try inspect element and see whether it is throwing any error on adding categories and saving the page.

If you are getting JS error or 404 or $ or jQuery undefined or any other JS function undefined, then please ensure:

  • Disabling minifying plugin (if there are any).
  • Disable Cache Plugins (if there are any).
  • If you're using Cloudflare then enable development mode and purge all cache and retry adding the category.

@MohammedKaludi @tripledm

isrgrajan avatar Dec 17 '22 06:12 isrgrajan

As of AMPforWP 1.0.83

  1. Categories to Hide AMP posts option is working perfectly. Note : If anyone still facing the issue then it most probably due to JavaScript error due to some other plugin in backend
  2. Post not redirecting to amp version when that post category was added to hide AMP and then removed. This issue was unable to recreate and post was redirecting as intended . Note : Make sure you clear you cache if you facing this kind of issue and try updating permalink

akshaywali avatar Apr 24 '23 05:04 akshaywali