• Hello:

    After building a database and making my search form PULL results from it, I have the follow URL display. I was wondering if there is a way other than MOD Rewrite that can optimize this to something like: website.com/results/state/county/city/zip/ instead of: ?state=PA&county=Delaware&city=Bryn Mawr&zip=19010. Or could the mod rewrite do the trick and if so how?

    I have used the following code and it’s still not working:

    RewriteRule ^results/([^/]+)/([^/]+)/([^/]+)/([^/]+) /index.php?state=$1&county=$2&city=$3&zip=$4 [NC] [QSA]

    A notice: There are several query elements to the forms.

    Thanks a lot for all your help again.

    John

  • The topic ‘htacess Issue’ is closed to new replies.