Git Product home page Git Product logo

Comments (2)

tinder-kyleboss avatar tinder-kyleboss commented on August 19, 2024

I "fixed" my own issue 😅 I say fixed fairly liberally lol. Here's why (If you run into the URLs not working...try this.)

  1. De-activate wp-simple-saml.
  2. Change this line from if ( ! get_option( 'wpsimplesaml_rr_flushed' ) ) { to if ( true ) ) {.
  3. Re-activate wp-simple-saml.
  4. Undo step 2.

🤦‍♂️ 🤦‍♀️ 🤦‍♂️ 🤦‍♀️ 🤦‍♂️ 🤦‍♀️

I might have some free-time this weekend to look into a more permanent solution.

from wp-simple-saml.

paulgibbs avatar paulgibbs commented on August 19, 2024

@tinder-kyleboss That will cause WordPress to flush its permalink cache on every page load, which is slow and doesn't scale. That's what this option tried to improve, by only running the process once. I'm not sure why it might not have worked for you, but even the code comment says "not perfect but it should work at least the first time" so who knows? :)

Your WordPress needs to use a WordPress permalink option, other than the default. You've probably already got it customised, but you can set it on wp-admin > Settings > Permalinks. A good trick is just visiting the URL will also manually clear the permalink cache; you don't have to change or resave anything. I expect this would have resolved the issue for you (and you should be able to undo your modification once you have SSO working).

from wp-simple-saml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.