Hi AstroTeg,
Thanks for providing some hint.
i know how to do this.
www.domain.com/123
-> www.domain.com/directory/file.php?id=123
yes, it doesnt require any rewritecond for this.
And it wont work if there is a ? in there because if there is a ?, there need to have a rewritecond for the query_string.
The reason i need to have the question mark is because i want the shortcut directly after the domain. if i were to use this method
www.domain.com/123
-> www.domain.com/directory/file.php?id=123
it will conflict with some of my current directories eg. www.domain.com/images if there is a www.domain.com/directory/file.php?id=images
So i need the question mark.
And i tried to google, searching something with ? is really hard, as many irrelevant results are return.
Posted in many programming, webmaster forums... it seems no one knows how to do what i wanted. Or perhaps, this mod rewrite is too simple for them that no one bothers to teach.
🙁