If you are going to your pages by entering, for example, "http://localhost/test/index.php?id=gsdg" into your browser's address bar, this still works with URL rewriting enabled. The URL's http://localhost/test/index.php?id=gsdg and http://localhost/test/gsdg both link to the same page. Does this problem happen when you click the view button on the page you are currently editing and it takes to a new tab to view the page? I don't know if this helps but without providing us a link to your site and us being able to see the problem, it is hard to diagnose and then then prescribe a solution.
Todo arde si le aplicas la chispa adecuada.