Yes I too am posting about a mod-rewrite issue. the following is my .htaccess file. What is happening is that the variables are not getting passed to the appropriate pages unless they are the last two lines in .htaccess file.
How do I get it to allow the variable to be passed on the first four lines of rules?
I do notice you have a . in the last one and not in the first one. ([^/]+) vs ([^./]+) . I believe that "." is "any character", so by leaving it out, you may be breaking your rule. You could also just try:
its still making its error, even with changing it as you have.
when I go to /listings/city/number the page displays none of the $_GET variables so they are not getting passed as they should be. Same with /lots/city/number, but yet with subdivision/city/number they get passed.
in each file, listings.php, lots.php and subs.php I just have an echo statement to show each of the variables from the query string.