# Is it better to have keywords in the URL path or filename?

Published October 16, 2013 · Filed under [Search Engines](https://seobandwagon.com/blog/category/search-engines), [SEO](https://seobandwagon.com/blog/category/seo), [Webmastery](https://seobandwagon.com/blog/category/webmastery)

![Is it better to have keywords in the URL path or filename?](https://rraubczrlpaushskzpfc.supabase.co/storage/v1/object/public/blog/2013/10/is-it-better-to-have-keywords-in-the-url-path-or-filename.jpg)

Matt Cutts is so funny. Pretending like this isn’t an important question by falling asleep. And then say one looks spammy. You card.

[Is it better to have keywords in the URL path or filename?](https://www.youtube.com/embed/971qGsTPs8M?feature=oembed)

Do what makes sense and is easy for you and your users to navigate. Same goes for [sub-domains vs. folders](https://seobandwagon.com/blog/subdomains-vs-folders). If you have a good reason to run a subdomain then you should do that.

He does giveaway the real answer, long filenames look like spam. Folders are easier to organize /products/hammers/acme/pounder.html and code. The only reason to write a long html filename is to add keywords. It’s inelegant to say the least.

---

Canonical page: https://seobandwagon.com/blog/is-it-better-to-have-keywords-in-the-url-path-or-filename
More from the blog: https://seobandwagon.com/blog
Site overview for agents: https://seobandwagon.com/llms.txt · API docs: https://seobandwagon.com/docs/api
