I have a url like this
fullarticle.php?sID=3&ssID=21&id=1496
sID = category (Forums, entertaiment, news, sports etc)
ssID = sub category (businnes, health, crime, etc)
id = article id
My goal is to make that url look like this
fullarticle/News/Crimes/title
I've tried this at .htaccess:
RewriteRule ^([^/]+)/([^/]+)/([^\.]+)/([^\.]+)/([^\.]+)/([^\.]+)$ fullarticle.php?$1=$2&$3=$4&$5=$6 [L,NC,QSA]
another one
RewriteRule ^/([a-zA-Z\+]+)/([a-zA-Z\+\-]+)/([0-9]+)$ fullarticle.php?sID=3&ssID=21&id=1496
And some other with no luck.
How can I write a rule/condition to accomplish that? If there is an easier way to do this I am open to suggestions.
Thanks for taking the time to look into this.
/news/crimetosID=3&ssID=21etc.? Where do you get the numeric ID's from?