One of the easiest ways to improve your SEO is to look at the way you name your files. Before writing this article, we did a really hard work on file-names and reached the point that search engines like Google give too much importance to the file names. You need to think what you want to put in your web page and then give a contextual file name to this page.
If you try giving any keyword in Google search engine you’ll find file names highlighted with the keyword you had given. This proves that your file name should need appropriate keywords.
Structure of File Names
- It’s very good to use the same keywords in a page title and as well as in filename.
- The filename needs to be descriptive and short.
- Do not use more than three to four words in a file name.
- Do not Separate the keywords with underscores rather separate it with hyphens.
- If possible try to use two keywords.
- Do not use generic filenames such as tutorials.htm. Use actual service file name in your file like technology-tutorials.htm.
Below are some list of filenames which would be ideal from the users' perspective as well as Search Engine Optimization.
If you Notice the above keywords, they're separated by hyphens instead of underscores. Google search engine sees good filenames as:
podina-technology-tutorials as podina technology tutorials (good)
Filenames with underscores are not appropriate.
Podina_technology_tutorials as podinatechnologytutorials (not good)
Almost every webmaster think that it’s a good idea to use filename without using an extension. It may help you, but not as a whole.
You may notice that file extensions like .html, .htm, .php or any other extension do NOTHING for your visitors, they’re simply a means of offloading some work of configuring your web-server properly onto your visitors. In response, you’re asking your website visitors to tell your web server HOW to produce the page, and not which one?
Name of URL Sub-Directory
From the SEO perspective, URL sub-directory name doesn’t matter. You can try giving any keyword in a search, and you’ll not find any of sub-directory name matching with your own keywords. But from the user's perspective, you should need to keep an abbreviated sub-directory name.
Keep in Mind
Keep in mind the following points before naming your files:
- Separate all the keywords with hyphens instead of underscores.
- Try to use maximum three to four keywords in your filenames, and keep in mind that the keywords should appear in your webpage title.
- Keep the webpage filename descriptive, simple, short, and contextual to the content.
- Try to keep your sub-directories names as short as possible.
- Restrict your file size to less than 101K because Google search engine chops everything above that.