How to choose website page names

Static URLs are very important to achieve best possible search engine positioning and to increase web site performance.

Article comments main difference between static and dynamic page names (URLs) and how to convert them using URL rewriting technology.

Thu, 20 Mar 2008 18:36:00 CET by SmoothStep
Comments 3 | Post a comment | rated 3 / 5

Firstly one needs to understand the difference between static and dynamic page names (URLs).

Dynamic Pages

Dynamic URLs are designed to send variables to a website page so it could perform a specific task that usually generates dynamic results. Dynamic page names contain a single question mark that separates name from variables sent. Example name "product.php?a=1&b=2" would pass variable a=2 and b=2 to "product.php" script file that would generate some response.

Such technology is very useful for web application programmers but it down-performs in search engine listings. Search engines prefer static pages that are considered to change less often over time.

Static Pages

To explain static URL prototype we are going to use two examples: "product.html" and "product.php".

Classic static URL example consists of name and extension. Page extension indicates technology ("html" says that page uses Hypertext Transfer Protocol) or a programming language ("php" extension indicates that page is generated on the server using PHP script).

Many consider that pages with extension other than "htm" or "html" are worth more than those with server side scripting language indicators (like PHP, ASP and others).

If you will search for "search engine marketing" in Google and look at URLs of first 10 web sites, you will notice that many extensions are present. This indicates that search engines don't really care about extension used as long as the page represents useful information for the reader.

User friendly URLs

Friendly page names are static URLs with no extension at all. Such URLs are very useful for users as they are easy to remember (web-design, contact, shop etc). Extension-less choice also protects page names from becoming obsolete if different web technology is going to be used to display them in the future. Such names can be achieved by using URL rewriting technology.

URL rewriting technology

Rewrite engine is a special software component on the server that modifies domain names before they are processed by scripting language. It is used to convert dynamic URLs to static ones.

Dynamic page:
product.php?type=computer&subtype=portable&id=34

Can be changed to static page:
product/type/computer/subtype/portable/id/34

Or:
product/computer/portable/34.html

Or simply:
product/computer/portable/34

Rewrite engine is very helpful to maintain static URLs for complex database driven websites, where parameters have to be sent to display products. Dynamic pages are usually not cached by web browsers so by using rewrite technology one also increases overall web site performance.

Apache web servers have built-in component called "mod_rewrite" which allows setting up rewrite engine by uploading RegExp (Regular Expression) rules to ".htaccess" file. For those who use Windows based servers - Free IconicIsapiRewrite plug-in can be installed to achieve rewriting.


Guide to web design / Choosing website page names

Comments

Zola from Canada

Date: 6/17/2009 8:28:00 PM, rated: 4

Hey this is a great article,

These are the little things that set sites apart. Will definitely explore the topic more.

zahid from usa

Date: 2/16/2009 4:25:00 AM, rated: 3

it's great.

i m using in my blog as well.

http://www.zahipedia.com

bebo2001 from united states

Date: 2/1/2009 12:16:00 PM, rated: 3

cool, keep that in mind

Post a comment

Here you can share your thoughts with us by posting a question/comment; also rate this article by clicking on one of five stars below. Your e-mail will not be shown to protect your privacy. Required fields are marked with *

 

Web Packages

Simple websites

Basic package

Package includes simple menu, unique design and our CMS - Low budget solution ...

More info »

Content rich websites

Medium package

Content rich website design - multiple sections, multilanguage support and our basic SEO ...

More info »

Online business ready

Advanced package

Multilingual e-commerce website design - static product pages, RSS feeds and our advanced SEO ...

More info »

CMS Video Demo

Smooth Step CMS video demonstration

Basic features of our content management system can be seen in video section.

View demos »

Latest articles

  • Platform monitoring

    Posted: 2008-06-15, rated 3/5

    introduction to the first step of web application tuning - monitoring. Information regarding analysis, solutions available and further steps are mentioned.

    Post a comment | Read

  • Server side website caching

    Posted: 2008-05-02, rated 4/5

    Caching technology allows us to develop extremely fast and yet complex web applications with minimum impact to overall website performance.

    Post a comment | Read

  • Popular web browsers

    Posted: 2008-01-25, rated 3/5

    A list of free modern web browsers with their advantages, security and supported operating systems - Chapter offers free downloads.

    Post a comment | Read

© Smooth Step 2007-2008. All rights reserved.

xHTML | CSS accessibility standard - Sitemap