Welcome to WebmasterWorld Guest from 107.22.83.0

Forum Moderators: Robert Charlton & andy langton & goodroi

Message Too Old, No Replies

Should I use keyword in directory or file name?

     
4:44 pm on Jan 14, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 4, 2005
posts:61
votes: 0


domain.com/../blue_widget/
or
domain.com/../blue_widget.html
?

Any thoughs? Thanks.

5:06 pm on Jan 14, 2008 (gmt 0)

Preferred Member

5+ Year Member

joined:Sept 28, 2007
posts:487
votes: 0


It doesn't matter any more. The page content and title do.
5:09 pm on Jan 14, 2008 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member pageoneresults is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 27, 2001
posts: 12172
votes: 61


At the www level with content negotiation...

www.example.com/widgets/blue

At the www sub-directory level without content negotiation...

www.example.com/widgets/blue/

At the host level...

widgets.example.com/blue/

At the host level with content negotiation...

widgets.example.com/blue

I always recommend the use of top level keywords in the naming conventions.

4:37 pm on Jan 15, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Aug 28, 2007
posts:42
votes: 0


I try to name my directory structures logically using relevent keywords.

www.widgets.com/purple-monkey-dishwasher/bluewidget.html isnt that useful.

4:54 pm on Jan 15, 2008 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member pageoneresults is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 27, 2001
posts: 12172
votes: 61


These days, for me, the shorter the better. I've found that using logical top level keywords (single) works well from a usability standpoint.

Once I start seeing two or more hyphens appearing in any level of the path, the hairs on my neck rise. So, a few years ago I started trimming the use of hyphens and making up for order within my path structures. Keep them short and "very relevant" to the destination. If you can trim to one word at each level, that is the magic bullet.

For me, this would now be the perfect URI...

widgets.example.com/blue

This would be my second choice...

www.example.com/widgets/blue

What's your preference?

5:20 pm on Jan 15, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Aug 28, 2007
posts:42
votes: 0


I personally favour

www.example.com/widgets/blue

As i have had more success in getting pages listed with this style

6:45 pm on Jan 15, 2008 (gmt 0)

Moderator This Forum from US 

WebmasterWorld Administrator robert_charlton is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Nov 11, 2000
posts:11884
votes: 293


domain.com/../blue_widget/
or
domain.com/../blue_widget.html
?

One further thought suggested by the example...

In an extensionless environment, if that's what you're asking about, you don't want to turn each page into a directory. So, if you were going extensionless, the main page of your widget directory would be the default page of a directory...

domain.com/widgets/

...and your widget pages would be extensionless pages within the widgets/ subdirectory...

domain.com/widgets/blue
domain.com/widgets/red

See the discussion about trailing slashes vs no trailing slashes in this thread...

Blog URL Structure for SEO
[webmasterworld.com...]