php - .htaccess inconsistent results -


i have rewriterule works fine on local server, when upload test server, rule stops working , gives 'not found' error.

rewriterule ^/?id/name/([^.]+)/?$ id/name/index.php?details=$1 [l,qsa] 

i'm trying query string work on same page whilst maintaining directory url. e.g. website.com/id/name?details=dob website.com/id/name/dob

on test server i'm using subdomain, whilst on local server i'm using localhost.


Comments