I see that you haven't got my point, well
I do not want the site to completely redirect to index.php.
Actually I'm creating a cms and giving the administrator multiple ways of managing the links on his websites
on way is to use /index.php?ctype=document&id=234
and it will show the document number 234 from the db
or
the other way is to use like first number will determine the ctype (content type)
lets say that documents are numbered as 21 and I want document number 234
so the address to it will be /21.234.html and this will be sent to the index.php for processing and give the output. got my point ?