On Apr 22, 2008, at 05:57, Emil Edeholt wrote:
Well, it's doing what you told it to do - if it's for /foo it redirects it to index.php?page=foo and if it's index.php it redirects it to /foo While I understand what you're trying to accomplish - only letting people see the "/foo" version - this just isn't going to work, particularly not in a .htaccess file. Your best bet is to drop the second ruleset, and just ensure that all HTML links contain the desired URL rather than the actual one. It's possible (I haven't tested this, not certain) that if you are able to move this to the main configuration file, and add a [PT] to the first ruleset and a [NS] to the second ruleset, that it'll do what you mean. But I rather suspect not. -- "There are two kinds of light--the glow that illuminates, and the glare that obscures." James Thurber |