Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I understand that dynamic URL would be of the form page=123, while static would be with the post name in it.

SO has http://stackoverflow.com/questions/[ID]/[title] format.

Since the [title] is actually optional and has no affect on the page actually loaded, would you say this is a dynamic URL?

And if so, what is the implication or benefit of the "static" [title] part? does it help SEO?

share|improve this question
3  
fyi this is also known as "url slugs" eg webmasters.stackexchange.com/search?q=url+slugs –  Jeff Atwood Feb 7 '11 at 10:19
add comment

2 Answers

up vote 4 down vote accepted

I think the meaning of static/dynamic has changed over the years.

When talking about how the page gets served, a dynamic page is one that gets constructed on the fly, say from a database.

Originally these were identifiable by the use of query string parameters like your example page=123. The parameters gave the information so a single page could provide different data, depending on the values passed. So these URLs were called dynamic.

Another indicator of a dynamic page was that the file extension indicated the language used to generate the page. e.g. index*.php*

static pages are normally an html file that contains the pages content, pre-built, hence static.

However, it has been common practice to hide these raw URLs so that it it not obvious if the page was dynamically or statically created. The method is often referred to as rewriting the URL.

This is done so that a website can present a nicer, keyword rich URL for the search engines.

share|improve this answer
    
+1 for explaining it better ;) –  Zack Feb 7 '11 at 15:48
add comment

Yes, I do believe Stackoverflow/Stackexchange sites use dynamic url's and some sort of rewriting of the url's.

As for the title attribute, I also believe that's there for more of an SEO standpoint so that search engines can read the URL and display to the users quicker.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.