Hello,
I'm trying to get two parameters with mod-rewrite. I tried to split them with "-" but unfortunately it returns last word as second parameter.
/ders/ilkogretim-matematik
/ders/ilkogretim-fen-ve-teknoloji
should be the URLs, "ilkogretim" will be the first parameter and the rest of it will be the second parameter. (After first "-")
My rules as follows:
RewriteRule ^ders/(.*)-(.*)/?$ /ogretmenler.php?sinif=$1&ders=$2 [QSA,L]
I hope I could explain the problem..
Thanks in advance...