Some File Naming Tricks for Your Online Home Based Business Web Pages



Get Web Design Tips and Tricks on mps-web-design.com. Some File Naming Tricks for Your Online Home Based Business Web Pages topic will increase your understanding on Web Design Tips and Tricks. We at mps-web-design.com only provide news, articles, information in Web Design Tips and Tricks. Web Design Tips and Tricks at mps-web-design.com provides the most up to date news and articles. If you have questions please do not hesitate to contact us.

Conventional Wisdom states you should use Sub-Directories to organize your web Pages. Unfortunately the Page Indexing Tools Penalize your Page Rankings when you Do this, Many of the Page Ranking Algorithms in use today deem that pages closed to your Root are of a Higher Value then pages that are further away from your root. If you have 2 Web Pages with the Exact same content (web1.html and web2.html) http://yourdomain.com/web1.html and http://yourdomain.com/articles/training/web2.html

All things being equal Web1 will have a higher ranking then Web2.html because Web1.html it is in the Root Directory.

As a Web Designer or a Home Based Business owner wearing a Web Designer Hat it seems you have 2 Choices, do what seems right and in many ways best and use a Pretty Directory Structure and Loose Ranking points or Throw out the Directory Structure and Gain Ranking Points. Many People Choose the Directory structure either because they don't know about the page Ranking Algorithms or they feel a strong need to be organized and are willing to sacrifice ranking points.

There is a 3rd Choice. You can use what we shall call a Pseudo Directory. A Pseudo Directory is a simple tool that you can use that will not only keep you organized but has the added bonus if used properly can actually increase your ranking points because you will have file names that are extremely optimized for the Page Ranking Bots.

A quick lesson on File Naming if you have 3 Web Pages with identical content and they are named page1.html,bathroom.html and Home-Repair-Bathroom.html which file do you think will have the Lowest ranking and The Highest Ranking for the phrase "Bathroom repair". Page1.html will be lowest ranked and Home-Repair-Bathroom.html will be the highest rank.

The Pseudo Directory takes advantage of this page naming structure to allow you to organize your Web Pages and still maximize your page ranking.

So you have a Web Page that is Promoting products and Services to Homeowners and Would be Homeowners. You want to build some content rich web pages using articles that you find and Reprint. Using the Conventional Method you would have a Directory Structure that looks like

root/articles/Home-Loan/file.html,
root/articles/Home-Repair/file.html and
root/articles/Home-Selling/file.html etc.

With the Pseudo Directory method you keep all your files in the root Directory you just name them using the Optimal naming rules. An Article on Roof Repair would be named home-repair-roof.html not roof.html. Similarly an article on Kitchen Repair would be named Home-Repair-Kitchens.html and on Bathroom repair would be named Home-Repair-Bathrooms.html

This next step is optional but it does have a few advantages and will help increase your page rank even more. Create a Table of Contents or Site Map for each Pseudo Directory. So continuing with the above example create a File called Home-Repair-Contents.html and list all the files that start Home-Repair.

Next (If you have more then 3 or 4 sub topics) Create a Page called Home-Contents.html where you have links to Home-Repair-contents.html and Home-Loan-contents.html and Home-Selling-contents.html ...



Bookie Buster. - Discover The Tips & Tricks That Sportsbook Owners Are Hiding from You!
15,000 Mb Hosting For $4.95/mo. - 4.95 web hosting, Free domain registration! Free setup and online website builder included.

This post was originally published on May 13th, 2004. As others are writing about the topic, I thought bringing it out of the archives would be worthwhile.

A little recap

The idea of placing multiple states of buttons and other elements that are used in background images took its roots, I believe, from Pixy's Fast Rollovers. The CSS Zen Master extended this to another purpose in CSS Sprites: Image Slicing’s Kiss of Death. Didier Hilhorst came up with a nice application of this method, and I worked it backwards in Responsible CSS - Recycle your background images.

The idea behind the 'sprites' method can obviously be extended to any html element, and there are tangible benefits for doing this, just as long as the designer does his or her usual homework.

Benfits of using the 'sprites' method

What are the possible the benefits of using this method? Essentially it lies in faster download times for your web content.

Readers of Andy Kings book, Speed Up Your Site: Web Site Optimization will notice that this method reduces http requests and makes more efficient use of the data packets used to transfer files to the users computer, and that that is a good thing.

Packet size and http requests

From Web Page Design and Download Time, by Jing Zhi of Keynote Systems (seen here - pdf), cited in Andy's book:

The basic performance principle is therefore to make fewer requests and transmit fewer packets. From this principle, we can derive two basic design rules for wellperforming Web pages. First, reduce the overall size of the page, thereby reducing the number of bytes (and packets) to be transferred over the Internet. Second, limit the number of embedded objects on the page, such as images, each of which must be requested and transferred separately from server to browser.

They also found that it was the number of packets and not necessarily the overall size of the page that was important. If a packet could hold 1460 bytes (the figure given in the article) and your object was 1600 bytes, it would require two packets. They found that this object would transfer at the same speed as another object that was greater in size but still fit in two packets.

Potential payoff

The potential payoff for using this method versus individual images, then, is a faster download time due to reduced number of packets and fewer http requests.

Reducing http requests is easy. One file instead of two or three etc. is simple. But packet requests? That depends...

An example

The number of packets sent will depend on the size of the file and the users internet connection.

As an example, lets look at the fiftyfoureleven.com logo at the top of the page. When this design was first being coded, that link consisted of two 3.34kb images, one for the link state and one for the hover state. Now, by using one image that contains both states and simply bumping it back and forth depending on the hover state, that has been reduced to one 5.35 kb image. Right there is a savings of 1.33 kb. Good news.

Now, for arguments sake lets say that a packet can hold 1460 bytes (packet size for connections greater than 128kb/s = 1500 bytes -40bytes for tcp/ip headers). The two image method used 6 packets, 3 for each image (3.34/1.46, rounded up). The single image method uses 4 packets (5.34/1.46, rounded up).

Things are looking good.

How to optimize

In his alistapart article, Dave refers to the image that holds all of the sprites as his 'master image'. The key to benefitting from this method is to ensure that the file size of your master image isn't a bloated equivalent versus the sum of its pieces.

Conclusion

Great benefits can be realized when combining a master image from slices that fall well below the size of one packet, as that unused packet space goes wasted.

After doing a little more research, it seems that packet size can vary depending on the connection rate. That being said, it may be rather difficult to come up with a firm rule here. To play it smart and safe, try and:

  • build master images that are smaller then the sum of their collective slices (by combining images of similar colors, for example) or
  • rather than use a different distinct image for a certain element, reuse one that you already plan on using elsewhere.

This isn't exactly groundbreaking advice, however having seen the results acheived with the logo on this page, it can be seen that using the sprite method versus individual images at minimum does reduce http requests and even further it can reduce file size which in turn can reduce the number of packets sent.



Article Index: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79


More Articles:


1. Top Five Sins of the Startpage Exchanges
Right now, these exchanges are generating more traffic to mysite than any other single method ever has. They are a greattool, as any, in the right hands. They may not work nextweek, who knows, but that's the nature of the Internet.What IS certain is that they can be made to work HARDER foryou right now. Just a few tweaks can make all the differencebetween merely counting numbers of useless hits and usingthis great *moving billboard advertising system* toeffectively generate real live leads for y…

2. Why choosing form over function kills your site
Never put form over function. Why? Because it's crucial that visitors actually be able to USE your site. Everything you do must be designed to be as easy for the visitor to understand as possible. Everything should be functional first.If you put form before function, you sacrifice your visitor's best interest for your own preferences. By definition, putting form over function means you sacrifice function--you make it harder to perform whatever task is supposed to be performed. You give up ease o…

3. Putting Sound on your Web Site - Part 1
Putting sound on your web site can give your web site that special sparkle. As Interlaced graphics are gradually focusing on the page, the visitor can be put into the proper mood, preparing them for the graphic images and textual messages they will see. In this article I will discuss the best ways to put sound on your web site. Please keep in mind I am not exclusively addressing the best sound formats available on the web but rather getting the best sounds that will load quickly and encourage vi…

4. Catalog Printing Methods
We cannot deny the fact that catalog printing is now a soaring industry. Nowadays, catalogs are considered one of the useful tools in advertising and marketing. It can be used to give information to customers and to show pictures of products that can be purchased. In some cases, catalogs will show services that can be offered by certain businesses as well. You can choose to print your own material catalog or be aided by a professional printing service. It is still best to use a professional prin…