Mobile app version of vmapp.org
Login or Join
Speyer207

: IS SO URL static or Dynamic? 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]

@Speyer207

Posted in: #Url

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

SO has 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?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Speyer207

2 Comments

Sorted by latest first Latest Oldest Best

 

@Pope3001725

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.

10% popularity Vote Up Vote Down


 

@Welton855

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme