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
-
404 vs 410 vs 301
Hi guys, I am managing a real estate website, and obviously we have a LOT of pages detailing each property. As those properties get sold and removed from the website, I'm wondering how best to handle this - I know 404, 410 and 301's are all valid ways to go, but I want to provide the best UX combined with the best SEO effect. My thinking is to customise a 410 page to show the page has been permanently removed, and has a relevant message (rather than a generic 404 message) and shows a search box - possibly pre-populated according to the page they were looking for.
Technical SEO | | LoonyToons
I think this gives a good UX and helps Google to understand the importance of the 000's of pages on our website.
I'd also like to clear property detail 404's as quick as possible to make it easier to see if we have problems elsewhere on the site. Having explained this to our development/SEO agency, they are strongly pushing for 301 redirects or leave as 404.
I think 301's would be the worst for UX, and as explained earlier, the volume of 404's is massive and makes it difficult to see real errors. They seem to think this is a better UX and better for SEO. Just wondering what you guys would recommend?0 -
Google Not Recognizing Domain Name Change
It has been over a month since we have switch https://www.iwdextensions.com
Technical SEO | | lsujoe
to
https://www.iwdagency.com/extensions/ Yet Google is still ranking the old domain name in their search results. https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=iwd extensions Are we doing something wrong or does it take Google more than a month to update their results for this type of change? We have 301 redirected the old url to the new one and submitted a domain name change in GWT. Let me know your thoughts!0 -
Domain name SEO
I would like to hear your opinion about which between robotics.kawasaki.com and www.kawasakirobotics.com is more effective for SEO of keyword robotics and kawasaki. We have been using kawasaki.com domain name for more than 15 years.
Technical SEO | | Iwashima0 -
Fluctuation in Ranking for the keywords
We were ranking well for most of the keywords.These keywords were at first page i.e mostly @ 1st and 2nd position in Google.But we have put the following tag ie no index tag for our pages by mistake and after that the ranking fluctuated & fell down in Google search results as our pages were out of index in Google .We have removed the noindex tag after encountering the problem.Now I can see my pages are cached & indexed in Google after submitting to index in Google webmaster tool.Can I regain my ranking for the keywords and within how many days I would regain my previous ranking?
Technical SEO | | vivekrathore0 -
Keyword Canabalisation and my solution
Hi. According to one guy, in this thread: http://www.seomoz.org/q/good-seo-titles, the Meta Title, H1 Tag Title on the product page, and the category listing pages should be different to avoid keyword canabilisation. One problem I noticed in my website after reading about this topic, is that all my printers have the keyword sentence :"refurbished printer", yes 99% of the products are refurbished but in that way according to the answer in the above post I am competing against self, too many pages (1000) with the same keywords on it. So I decided to make some changes and I I would like to know the opinion of the experts here, I did this only for one product, then I would of course need to this for lots of products. 1. I created a different meta title. check here please http://www.theprinterdepo.com/hp-color-laserjet-cp2025n-printer-new 2. In the product page itself, I removed the condition from the name of the product, instead I put the template, NAME - MODEL -CONDITION. 3. In the category listing page I havent made any change yet, it still shows the product name only http://www.theprinterdepo.com/new-printers/color-laser-new-printers Check 1st row, 4th column. Is this a good approach?
Technical SEO | | levalencia10 -
What are your thoughts on security of placing CMS-related folders in a robots.txt file?
So I was just about to add a whole heap of CMS-related folders to my robots.txt file to exclude them from search, and thought "hey, I'm publicly telling people where my admin folders are"...surely that's not right?! Should I leave them out of the robots.txt file, and hope for the best that they never get indexed? Should I use noindex meta data on every page? What are people's thoughts? Thanks, James PS. I know this is similar to lots of other discussions around meta noindex vs. robots.txt, but I'm after specific thoughts around the security aspect of listing your admin folders in a robots.txt file...
Technical SEO | | James-Distinction0 -
Almost Duplicate Product names (READ almost!)
Hi Mozzers, Here is a dilemma I thought I'd put forward and see how you guys would handle the situations. I'm working on a comparison website on which many of of the product names are very similar. There are circa 2000 products, of which many have similar names. Here are a few of the product names for example; Airsprung Enigma 5ft Mattress Airsprung Double Echo 6ft Mattress Silentnight Double Nova 6ft Mattress The Product name has been used in the page title of the product pages as show below; Compare Prices on the Airsprung Double Echo 6ft Mattress SEOmoz is highlighting these pages as having Duplicate Page Titles (and meta descriptions as a similar approach has been used). How would you handle this situation? Cheers Aran
Technical SEO | | Entrusteddev0 -
Keywords
Hi All, If I had a site about a cartoon character (for example). When I add keywords to the 'keywords' meta tag, would I be best to put specific phrases such as Cartoon Character, Cartoon Character on TV, Cartoon Character on Television or would the following have the same effect: Cartoon Character, Tv, Movie, Television I was wondering if having the above instance might be less effective as the search engines might read TV, Movie, Television as less relevant to Cartoon Character. Hope that makes sense! 🙂
Technical SEO | | wedmonds0