Hello Developers
I have 4 cases of a url
case 1:
mysite.com/(session_id)
case 2:
mysite.com/action/(session_id)
case 3:
mysite.com/action/(session_id)
case 4:
mysite.com/action/(session_id)/otheraction/otheraction
First i would like to know how i can get every after
http://mysite.com slash to
http://mysite.com using htaccess.
Then would like to know how i would detect the 4 cases of the url above.
In case 4 it can have any amount of otheractions.
The reason why there is the brackets around session_id is to know the difference with it and the action or otheraction
Any help?