Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Dave McHale

    (@dmchale)

    Hi @ahmadegbaria000 Thanks for using the plugin! But sorry to hear you’re having trouble.

    Can you provide more information on the issue you are having? The new functionality was tested quite a bit, and your old rules should have migrated to the new version when you upgraded. Are you certain that you are testing with a session that is not logged in?

    Let me know, and I’ll be happy to look into it further. Thanks!

    Thread Starter ahmadegbaria000

    (@ahmadegbaria000)

    https://ibb.co/wpsLnk0
    This image i disable wp/v2/posts API

    https://ibb.co/YPNFCVX
    And in this image i can access to API in incognito browser that should be not to access!!!

    Plugin Author Dave McHale

    (@dmchale)

    Thanks for those screenshots @ahmadegbaria000 . It does appear that your /posts endpoint is allowing access, but I tested a number of other ones from your screenshot and all of those appear to be properly protected. /pages, /blocks, /shipping_company, etc

    Is it possible that a theme or another plugin is stepping in and also modifying your REST API access? If you could send me a list of the plugins active on the site and what theme you’re using I would appreciate it, and in the meantime I’ll look at things on this end to see if I can find a bug in the code.

    Thanks! Talk to you soon.

    Thread Starter ahmadegbaria000

    (@ahmadegbaria000)

    Maybe WP REST CACHE plugin causes this problem??
    SO. i am very sorry ??

    Thank you

    Plugin Author Dave McHale

    (@dmchale)

    Not a problem, clearly there was an issue on the site and if it was this plugin then obviously I want to fix it! I will close this as resolved, but do reach back out if you have any other problems. Cheers!

    Hi @ahmadegbaria000 (and @dmchale)

    I am the developer of the WP REST Cache plugin and got a notice of it being mentioned here.

    Reading this topic I probably know what is causing this issue: if an endpoint is cached by our plugin and it is requested another time, the cache is returned without any other plugin being executed. So the Disable REST API plugin isn’t executed if the endpoint is already cached and therefore it isn’t able to block access to it.
    Luckily there is a simple solution! After changing the settings in the Disable REST API plugin, simply clear the cache from our plugin and the endpoint will be blocked ??

    Thread Starter ahmadegbaria000

    (@ahmadegbaria000)

    Thanks you both ??

    Hi,

    I’m finding problems with the plugin. When the plugin is activated, i can’t reach the website. If the plugin is deactivated i can reach my website and login to the wordpress cms. What can i do to activated it and that the website will work?

    looking to hear from you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘About new version’ is closed to new replies.