A WordPress site under development. The goal is to take what looks like permalinks (but are not), pass the relevant bits to a static page via URL parms.
A direct test of the static pages works (forgive the unfinished output):
http://test.cynical.ws/display-murphy/?cynical_id=_Computing's_7th_law
The common URL for this page should be:
The RewriteRule I have in place, but which is failing is:
RewriteRule ^murphyism/(.*)$ display-murphy/?cynical_id=$1
Since the direct access to the static page does not produce an error, I doubt it is a mageling of the single quote mark (and the database from which we look-up content has a lot of kets with single quotes).
I have tried various RewriteRule flags (such as [L]) with no change in behavior.
Here is the entirety of the htaccess file:
RewriteEngine on
RewriteRule ^murphyism/(.*)$ display-murphy/?cynical_id=$1
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress