Support » Plugin: Plugin Organizer » Plug in filters – setting up for all /amp pages

  • Resolved Mattw1000

    (@mattw1000)


    Hey Jeff,

    I needed to filter off a certain plug in to make my AMP blog pages validate. I tested it with one URL and it works.

    My question is, instead of me then having to input every single blog post URL to the filter, is there a way to tell the filter to affect all pages that have /amp at the end of it please?

    an example would be….
    https://www.mydomain.com/drinks-recipes/amp

    what would i need to put if i wanted to affect others such as….

    https://www.mydomain.com/healthy-activities/amp

    etc

    thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Mattw1000

    (@mattw1000)

    actually sorry just to add, when the pages are loading it looks like its adding another slash at the end so /amp/

    however in your plug in the page that i have tested seemed to work with just /amp at the end.

    just checking your thoughts on this please? should i put /amp or /amp/ or no difference?

    thanks

    Plugin Author Jeff Sterup

    (@foomagoo)

    The slash on the end depends on your server configuration. If it is working without the slash then you don’t need it. You can add a wildcard to the plugin filter to achieve what you want. So the permalink would be https://www.mydomain.com/*/amp.

    Thread Starter Mattw1000

    (@mattw1000)

    ahh yes of course! perfect thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plug in filters – setting up for all /amp pages’ is closed to new replies.