real url - subdomain.example.com?id=3&s=lorem-ipsum
wanted - subdomain.example.com/3/lorem-ipsum
here is my try:
RewriteEngine ON
RewriteCond %{THE_REQUEST} \?id=([^&]*)&s=([^\s&]*) [NC]
RewriteRule ^ /%1/%2? [R=301,L]
result - wanted url is there but browser shows the 404 error - Not Found
pls help