Using good directory naming
Updated on 3 November 2026
If you build your website yourself, you will surely want to create subdirectories to organise your work.
Creating a directory is a task you have probably done before. For example, if you create a directory to hold the photos of your favourite animals, you will surely name it 'favourite animals'. This way of doing things is fine under Windows, but if you create a directory this way in public_html, the browser will show that directory like this: http://your\_domain.tld/favourite%20animals This is because browsers do not support spaces, so they replace spaces with %20. To avoid this, use directory names without any space, such as 'favourite_animals'.