I'm building some sort of a glossary in WordPress. It's working fine, I'd just like to rewrite the URLs of the glossary posts to the appropriate glossary page.
for example the post http://myurl.com/category-glossary/example1
should redirect to the page http://myurl.com/glossary/?snap=E
http://myurl.com/category-glossary/anotherexample
should go to http://myurl.com/glossary/?snap=A
do basically i would like to redirect based on the first letter of a glossary post. Is there anyone who could point me in the right direction?
The 500 error is probably from something else in your .htaccess file. Also it's impossible to tell what the first letter is and capitalize it unless you create a RewriteRule for every letter in the alphabet.