Benefit of Keywords in URL: Filename vs Directory


Keywords In URLGoogle’s Webmaster Help YouTube Channel is a great place to find loads of resources and information on how Google ranks websites, and how to improve your site’s ranking. One such video, for instance, is their video answering the question “Is it better to have keywords in the URL path or filename?”. Here’s a bit more about the SEO advice found in that video.

Matt Cutts explains in the video that it doesn’t really make a difference whether you put URL keywords in the filename or directory path of the URL. The example he gave to explain the difference between the two is as follows: for keywords in the directory path, and for keywords in the file name.

The difference, for those unacquainted with web site structures, is that in the first example the file acme-metal-pounder in the folder (or directory) hammers, which is in the tools directory, on the server. In the second example, of course, the keywords are all part of the file name, rather than separate directories. According to the video, this distinction does not make a difference in Google’s ranking of the page, so for SEO purposes, they are equivalent.

Matt Cutts also points out that the first of the two examples, in which the keywords are in the path and not all run together looks much more natural and will appear normal to the user, whereas the first one looks like spam because of how jumbled all the keywords are. It is therefore better to use the first one as it is more likely to encourage actual visitors to click through to your site.

Also, it is a generally good practice to create separate directories on your site for different categories as it makes it easier for your webmaster to find and edit pages. The conclusion of the video then is that while you should have keywords in your URL, there is no need (for SEO purposes) to put them all in a filename, and it looks better to users to have them all in separate directories, so that is the best option.

Dan Petrovic is a well-known Australian SEO and a managing director of Dejan SEO. He has published numerous research articles in the field of search engine optimisation and online marketing. Dan's work is highly regarded by the world-wide SEO community and featured on some of the most reputable websites in the industry.

More Posts - Website

Copy the code below to your web site.

National Sales Number: 1300 123 736 - International Callers: +61 7 3188 9200

© 2015 DEJAN SEO PTY LTD - ABN:77151340420 - ACN:151340420 - Privacy Policy

Privacy Policy by TRUSTe Google Partner