I want to make the pages on my site more search engine friendly by turning the query strings into meaningful looking page names.
For example I have a page that is this:
I want it to look like this:
Sometimes there is a second query string so it would need to work with just one or both. For example:
Should look like
Here's what I've tried so far but I can't get it to work.
RewriteRule ^search.php?c\=(.*)* /doctors/general-$1 [NC,R=301,L] RewriteRule ^doctors/[^?/]*-(\d+)\ /search.php?c=$1&s=$2 [QSA
Thanks so much for your help,