Aug 26 2005

SEO - File Naming Structure in URLs

  • Written by Yaro 
  • 15 Comments... Click to Contribute

One of the simplest methods to improve your search engine optimization is to look at the way you name your files. Keywords in file names is a good thing. Don’t call your webpages names like “services.html” or “products.html” actually use your keywords. Here is an example for you.

BallsLet’s say you sell tennis balls online and you have three brands available, Slazenger, Wimbledon and Wilson and your webstore is at www.bigballsintennis.com.

A mistake would be to call your sales page something like this

www.bigballsintennis.com/product1.html
www.bigballsintennis.com/product2.html
www.bigballsintennis.com/product3.html

This just tells search engines that you sell products! What you want to do is use the keywords for the main search terms you want that page to show up for in search engines. Something like this would be better.

www.bigballsintennis.com/slazenger-tennis-balls.html
www.bigballsintennis.com/wimbledon-tennis-balls.html
www.bigballsintennis.com/wilson-tennis-balls.html

Note that it would also be a good idea to have a tennis balls homepage that links to all those pages but focuses on the keyword tennis balls only. Something like:

www.bigballsintennis.com/tennis-balls.html

Now remember you probably face a bit of competition for the keywords “tennis balls” since globally you might have a few competitors also selling online. You should conduct some keyword research first and determine which phrases you want to work towards optimizing for. You might notice there is little competition for Slazenger and work towards optimising for sales of that brand. Maybe your research shows that most people are using the phrase “tennis ball shop” so you should optimize for those keywords. Or you might consider working towards a local geographical niche, like “tennis balls Bahamas” or even your home town or state.

Remember you don’t have to get things right the first time. Do some keyword research, choose some keywords and then test to see how high up you can get your pages to rank for certain key phrases. If those phrases don’t bring in traffic keep testing until you find a combination that works. Remember though that file names are only a small part of the overall SEO process and if you only optimize your file names and not the on-page copy, the incoming links, your internal site structure etc. etc, your efforts in file name design will have little impact.

How To Structure Long File Names

Problogger Darren posted an entry resolving whether dashes or underscores are better for file name structure which referenced Matt Cutt’s comments on the topic. The conclusion was that dashes make for better file naming, at least for Google SERPs.

When we say say dashes it’s like this - www.bigballsintennis.com/wilson-tennis-balls.html
as opposed to this - www.bigballsintennis.com/wilson_tennis_balls.html

I also endorse this conclusion and have been structuring my files with dashes for a long time now. I made this decision not only for SEO purposes but for human navigation too. Many people don’t know what an underscore is and even have trouble finding it on their keyboard. Dashes look clearer on screen and act as a good divider for keywords.

If you are ever in doubt about which conventions are the best for any aspect of SEO or web design look around the web and see how the most popular websites structure their pages. If you look at the default for software programs such as WordPress, the blog content management system, you will notice that dashes are implemented and you can bet that the people behind WordPress did some research into SEO because they want WordPress to be the blog system of choice.

The only thing to be careful with is to not go over board with file names. Don’t do this -

www.bigballsintennis.com/the-best-cheapest-most-impressive-wilson-tennis-balls-you-will-find-online.html

Clearly this is just silly. You are diluting your keywords, creating a page that is next to impossible to remember or type in manually and are certainly not helping your SEO.

Forward to Friend

Email a copy of this article to a friend

* Required Field



Separate multiple entries with a comma. Maximum 5 entries.



Separate multiple entries with a comma. Maximum 5 entries.

Loading ... Loading ...

 

Comments

  1. 1
    On August 27, 2005 at 4:53 am Jason said:

    Yaro,

    How did you set it up to put the folders like that in wordpress. I notice if I hover over your post title it is linked to a directory that is properly formatted with “-” where in wordpress do you set that up?

  2. 2
    On August 27, 2005 at 9:08 am Yaro said:

    You have to play with the permalink settings Jason. I had some trouble at first because of the permissions on my server but once I got that right I could define how my permalinks display.

  3. 3
    On September 2, 2005 at 1:14 pm BradFitz said:

    This is a great tip Yaro, thanks for sharing it. I can’t believe this bit of information has eluded me for this long. Should be every bloggers priority in optimization. I’m enjoying your site quite a bit, I was referred to you via Darren over at ProBlogger. Cheers.

  4. 4
    On September 3, 2005 at 2:40 pm Yaro said:

    Hi Brad, thanks for visiting. I had a look at your blog and site - you are quite the artist! When I write my book I’ll give you a call for artwork ;)

  5. 5
    On September 3, 2005 at 10:50 pm BradFitz said:

    Please do! Thanks for the kind words.

  6. 6
    On October 31, 2005 at 9:13 pm Nikola Mitic said:

    If you have dynamic site with pages like this:
    (Dynamic-to-static URL rewriting for Apache)

    http://www.somesite.com/index.php?id=products&id2=car

    you can change it to:
    http://www.somesite.com/products/car/

    by using url rewriting

    Change .htaccess in your root directory
    Add something like tis:

    Options +FollowSymlinks
    RewriteEngine on
    RewriteRule ^([^.]*)/([^.]*)$ index.php/?id=$1&id2=$2

    comment:
    [^.] - means that links with “.” will not be rewrited (image.jpg or something like this)

  7. 7
    On April 24, 2007 at 7:02 pm Deepthi said:

    Hi Yaro,

    thanks for putting my blog as pingback.. its me who tried writing an article covering steps in SEO and your “structure file name” was good to have a link…

  8. 8
    On January 18, 2008 at 9:32 am Jazztrio Jazz Supply said:

    Thanks for the idea, this is new to me. I’ll implement it right away.
    Thanks
    Jens

  9. 9
    On February 20, 2008 at 9:38 pm SEO newbie said:

    These are some great tips, thanks…what about having your keywords in a subdomain url?

  10. 10
    On September 29, 2008 at 9:01 pm Basles said:

    As Jens said: Thanks for the idea, this is new to me. I’ll implement it right away.
    Thanks
    Olaf

  11. 11
    On November 16, 2008 at 3:07 pm Barbara said:

    Hi Yaro. Love your site. I am new to blogging and just thinking about setting up my first blog. What is the best permalink structure. You use http://yourdomain.com/post_id/post-title/. What is the advantage of using post id in your url? Why not just have http://yourdomain.com/post-title/
    Looking forward to your comments.
    Thanks
    Barbara

Leave a comment

Trackbacks

  1. 2
    on June 20, 2007 at 11:47 pm Honest Search Engine Optimisation

    [...] SEO - File Naming Structure in URLs [...]

  2. 3
    on August 8, 2007 at 7:04 am » 28 SEO Steps to Win Search Engine Rankings

    [...] Structure File name If you have control over your file names - modify file names with your keywords included. [...]

  3. 4
    on October 12, 2007 at 12:51 pm Dewitts Media » How should you structure your site

    [...] SEO - File Naming Structure in URLS  Site Structure - Beanstalk INC  >>It’s All About The Brand, Keep it Real [...]

RSS
Subscribe To Entrepreneur's Journey
  • TwitterCounter for @yarostarak

Subscribe to my blog and get a bonus copy of my book - "How To Start An Internet Business & Make Your First $1,000 Online"

Blog Sponsors
NetPartner is a leading affiliate network!Brute Force Social MediaSEO Article Writing ProsSite5Anastasia InternationalFree Mal Emery DVD
Follow Yaro on Twitter
Recent Video Post

Gideon Shalwick has released another powerful X-Factor video from Become A Blogger Premium 2.0. This video is a special preview of the caliber of videos that members receive, this time focusing on the more practical training style from Gideon.
If you’ve ever wondered how people get traffic back to their blog using YouTube videos, this presentation [...]

Leave a Public Message For Yaro

Instructions: Leave a message so I can hear what you think of my articles, blog or anything related to Internet business or blogging. Testimonials are most welcome and encouraged!

Keep it clean please, messages are moderated before going public. Feel free to mention your name and/or blog along with your message, thanks! - Yaro

Recent Flickr Photos
Blog Sponsors
Increase pageviews and revenue with Pluck On Demand
Recent Comments
  • Keller Hawthorne: Hey Yaro! First off, it's SO COOL that I actually got to speak with you and Gideon. You guys are awesome! Second, ...
  • Cash Back Cards: Great tips. I have been thinking about getting into marketing through YouTube. I have bookmarked this video to come ba...
  • Cash Back Cards: I missed the live call, but thanks for posting the audio of the call. You guys sound extremely helpful and friendly. I...
  • Cash Back Cards: Great idea to have a sample coaching session. It sounds like your program is extremely helpful. If I start my own blog...
  • Make Money | Abdul: I already had a 70% increase in traffic from 10,000 to 17,000 and I think that these tips might help my blog move up the...
Recent Podcasts
Learn how to make money from blogging

Learn how this blog makes $10,000 per month, attracts over 5,000 daily readers - All from just two hours of "work" per day!

Subscribe Form

Your information will not be shared with any third party.