That should already be passing key-west to your PHP script, which means, you then need to replace "-" with " " so it can find it in your table.

scm22ri
—
2012-11-01T23:17:41Z —
#13

Thanks CPradio! It's working! Yippy!

But let me ask you this, is their easier way to do this?

Thanks!

cpradio
—
2012-11-01T23:22:04Z —
#14

The removing of the hyphen, or achieving the URL format you now want?

In either case, no, not really. You are doing it right. The only thing I would mention is that if you ever want to replace multiple characters, to use preg_replace() instead of creating a str_replace for each one (especially if you are going to replace each character with a space).

But you are using RewriteRules to do what they were intended, granted, @dklynn ; would give you a very long drawn out rant over the use of (.*), as it is a catch all, when you likely could have used ([a-zA-Z0-9 -]+)