Static Url Vs Dynamic Url

Today we are going to see about Static and Dynamic url’s .You are all familiar with static and dynamic websites ,

Static website

Websites are made out of html pages where there is no database ,

Dynamic websites

Websites are  made up of programming and scripting language with a connection and retrieval of database

This what happens with urls too..

There are two types of URLs: dynamic and static. A dynamic URL is a page address that results from the search of a database-driven web site or the URL of a web site that runs a script. In contrast to static URLs, in which the contents of the web page stay the same unless the changes are hard-coded into the HTML, dynamic URLs are generated from specific queries to a site’s database. The dynamic page is basically only a template in which to display the results of the database query. Instead of changing information in the HTML code, the data is changed in the database.

Static website produces static url

For Example

http://www.example.com/example/example.html

Dynamic website produces dynamic urls

http://www.example.com/example/example.php?exampleid=12345&sort=date

Major problem is search engines doesn’t like these dynamic urls due to this many websites may lose their  search engine positioning due to dynamic URLs like  e-commerce stores, forums, sites utilizing content management systems and blogs like Mambo or WordPress, or any other database-driven website

First we will discuss about how a static site looks for a search engine

If a folder by name actor contains five actor pages which are static.It will be of the form

www.actor.com/actor/actor1.htm

……/actor2.htm

…../actor3.htm

So all these five pages get indexed by search engine

But when we look up in dynamic sites it is a great issue because look at this urls

http://www.example.com/actors/actorprofile.php?threadid=12345&sort=date

http://www.example.com/actors/actorprofile.php?threadid=12345&sort=date

http://www.example.com/actors/actorprofile.php?threadid=12345&sort=date

All three of these URLs point to three different pages. But if the search engine purges the information after the first offending character, the question mark (?), now all three pages look the same:

http:// www.example.com/actors/actorprofile.php
http:// www.example.com/actors/actorprofile.php
http:// www.example.com/actors/actorprofile.php

Now, you don’t have unique pages, and consequently, the duplicate URLs won’t be indexed. So Url duplication happens

There is a solution for converting this dynamic urls into a static one without editing the website code

The main problem of these dynamic urls is you will lose search engine ranking

Solution for this is Url Rewrite must be formed  il provide you on my next post in details ,So keep searching….. happy weekend

If you are so eager then watch this video and find out the solution

Tags: , ,

This entry was posted on Friday, August 14th, 2009 at 6:36 pm and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply