Keywords in file names vs folder names
-
We understand the value of a keyword phrase included in the URL. Is there more value to having that phrase in the folder name of the URL or the file name or does it matter?
Example:
http://www.biztoolsone.com/website-design.php
or
http://www.biztoolsone.com/website-design/
Which is best?
Thanks, Wick Smith
-
The short answer is, it does not matter.
The recommendation I would make is to use what some people refer to as "technology-proof" URLs. Drop the file extension. Why?
-
it looks cleaner and nicer to users
-
it makes it a bit harder (more work) for someone who wants to hack your site as they are unsure of your page's language
-
it gives you the flexibility to change technologies without requiring a new URL (from html to php for example)
The only difference between your URLs then would be the trailing slash. It is a matter of personal preference but I add the trailing slash to indicate a folder, and no slash to indicate it is a file.
Matt Cutts has a couple videos on URLs and file names which you may enjoy:
-
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Buying Domains with Keywords but no PA, no content
MOZ Community, I am trying to gauge both the potential upside and downside of buying a few (relatively long) URLs that encompass some new keywords that are surfacing in our industry and creating permanent redirects to our branded website. [This wasn't my idea!] These URLs haven't previously had any content or owners so their domain authority is low. Will Google still ding us for this behavior? I hope not but I worry that there might be some penalty for having a bunch of redirects pointing at our site. I have read that google will penalize you for buying content-rich sites with high DA and redirecting those URLs to your site but I am unclear about this other approach. It seems like a fairly mundane (and fruitless) play. I tried to explain that we won't reap any SEO rewards for owning these URLS (if there is no content) but that wasn't really heard. Thanks for any resources or information you can share! I would appreciate any resources.
Technical SEO | | ColleenHeadLight0 -
Keyword SEO
Hi everyone! I am pretty new to SEO so all the help would be great. Does every webpage on our website need a focus keyword for example like tructiepbongda Just to note that I am using Yoast on Wordpress. Many thanks,
Technical SEO | | yenu0 -
Should I write the keywords in the post, with ou without prepositions
Hi, I have heard from many sources about the semantic and grammatical evaluation of google, this raised a question: when I put a keyword in my text should I put it with or without the prepositions? For example "doctor in Miami" or "doctor miami".
Technical SEO | | droliverulson0 -
New keyword simply not Ranking
Evening all, first post. I'm currently ranking OK for a broad range of keywords - nothing at number 1 but some are on the first page. However, there is one particular keyword which simply refuses to get indexed. I've witnessed this behaviour before with another site where it appears at SERP 300 or so, then vanishes, comes back at 200 odd and then vanishes. Right now, it's not even ranking in any position. I'm using SERPFox for SERP position on Google. I've had Moz analyse the content on page and it's getting an A. The article is about 2000 words, with good Title and page description and the keyword is appearing under 1%. My question is, have you witnessed odd behaviour like this before where other keywords are ranking OK but an odd few don't even get indexed? I have a few links built to the URL and asked Google Webmaster tools to index the URL but still nothing. I have no penalties or anything to worry about. The only other info I have is that this URL is on a brand-new domain but the previous domain has a 301 redirect with a page authority of 42 and a domain authority of 38 (not too high). And, everything else appears to be running along OK. The point is, I have no expectations about the keyword ranking in a certain position but find it odd how the keyword keeps popping in and out of Google SERP. The keyword has a difficulty of: 58% Any thoughts appreciated. Robert. uH7vtbh
Technical SEO | | hooneyrobert0 -
Keyword in Domain Name
Hello!My website is www.enchantingquotes.com. I also own the domain www.enchantingwallquotes.com,which forwards to my site. About 90% of my business comes from the keyword "wall quotes". Should I consider changing switching to the enchantingwallquotes.com domain and redirecting? And if I do, do I need to recreate the entire website or is there an easier way that I am overlooking? Thank you for any advise/insight!
Technical SEO | | eqgirl0 -
SEO Info Bing - Logo and Name
I was reading the "How Search Engines Work" which is chapter 1 of the Beginners Guide to SEO by SEOMOZ. Came across an interesting point: "Don’t put the text that you want indexed inside images. For example, if you want your company name or address to be indexed, make sure it is not displayed inside a company logo." Surely most people will alt text their images with keywords or am i missing something here?
Technical SEO | | stefanok0 -
How important is keyword density?
Several leading experts say that keyword density isn't all that important. What do you think of keyword density? Do you incorporate it into your day to day activities?
Technical SEO | | nicole.healthline0 -
301 redirects and old domain names
Thanks to the great advice i've received on this forum, I'm combining 50 different truck sites into a single, ultimate truck website. So my question is how long should I make a website 301 redirect to the appropriate page on my new website? My thought is that if it works well to have a single website, it might be nice to eventually sell off some of the old domain names that I won't be using anymore. Thanks! Andy
Technical SEO | | daenterpri0