I've been struggling with this for a couple of days now. The immersion in htaccess and mod rewrite has been constructive but I am at a roadblock. I don't know enough about either htaccess or Wordpress to be able to tell which one is messing me up. I have htaccess code that works to a point, then crashes, and I'm suspecting Wordpress is doing something internally despite the htaccess directives. My suspicion is that wordpress is taking my rewritten url that looks like this www.mysite.com/?page_id=3/4/5/6/7 and changing it from inside the php code.
Basically, I have a plugin that works fine in WP under the default permalink setting but breaks with selecting any of the others. I need WP to leave this one page alone so it will work regardless what permalink system they choose for the rest of the site.
In the Wordpress codex, within pages of instruction about htaccess, buried in the middle somewhere, is the line
in WordPress 2.0+ versions, you'll probably need to do this only once (sic writing to the actual htaccess file), because WordPress does the rewriting internally. If you ever move your WordPress home directory (Blog address), you'll need to repeat this step.
I'm running 2.92 so that does apply to me but nowhere does it mention where, how, or how to modify the "rewriting internally" behavior if one needs to. My hunch is that it is the wp-includes/canonical.php file but not sure. Does anyone have any experience along these lines that can tell me if that is what is happening?
Thanks,
Robert