Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it better to make clean URL's using index files in directories or simply using mod_rewrite rules to remove the file extensions?

share|improve this question
Whatever helps to keep you organized. If you have lots of pages you're gonna hate having lots of directories. – John Conde Aug 9 '13 at 18:31
How would you propose to implement the "index files in directories" in order to make clean URLs? – w3dk Aug 9 '13 at 19:34
Just read up on mod_rewrite to come up with the solution that best fits you. net.tutsplus.com/tutorials/other/… – P1raten Feb 4 '14 at 16:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.