The Amazon Basin - Diablo II



THE BASIN

Basin Home

Diablo II Home

Welcome Mat

Recommended Reading

FAQ

Guides

Tools & Links

The Stash

Basin D2 Wiki

Forums

WeaselTech

How Forum URLs Work

"URL" is the acronym for Uniform Resource Locator.  It is the convention for identifying the location of anything available to a browser on the internet.  People often refer to a website's URL as its "address," and the URL for any page that you view in a browser is displayed in the "Address" window of the browser.

The URLs used on the Basin forums go beyond what you will find elsewhere.  In addition to directing your browser to a static page (the typical use to which URLs are put), the Basin uses forum URLs to create many of the pages that you see.

Let's consider a typical Basin forum URL.  (Don't bother trying this example in your browser because it won't work.  As Sergeant Friday might say, "Some of the characters have been changed to protect the innocent." We're using it here just to illustrate the structure of a forum URL.)

   http://www.theamazonbasin.com/d2/forums/index.php?act=ST&f=29&t=21148&st=0&s=16d839g8a45es8q8cc593eac61qe254a

The best way to understand Basin forum URLs is to focus first on the "?" symbol in the middle.  Everything in the URL to that left of that symbol is serving one function, and everything to the right is serving another.  We'll cover both halves here.

The section of the address to the left of the "?" is actually a standard URL all by itself.  In this example, and with any of the forum URLs you will see as you surf the site, you can copy/paste that segment of the address into your browser's search window, hit "Enter," and it will take you to a Basin forum page.  In the example above, the segment of the URL to the left of the "?" would take you to the main page of the Basin's D2 forums.

That section of the address follows the typical address conventions that you see for sites all over the internet.  Here are each of the parts for that section of the URL:

URL Segment Description
http: Tells your browser to use Hyper Text Transfer Protocol, the standard protocol for surfing the web.
//www Requests a server on the World Wide Web.
theamazonbasin.com The address for the Basin server, where the entire Basin site resides.
d2 The directory on the Basin server hosting the D2 Basin site.
forums The Basin subdirectory for the D2 forums.
index.php The main page for the D2 forums.

By contrast, everything you see to the right of the "?" symbol is unique to URLs for the Basin forums.  And for surfing the forums, that's the portion of the URL where all the action is.

Let's look at this half of our example URL, beginning with the "?" symbol:

   ?act=ST&f=29&t=21148&st=0&s=16d839g8a45es8q8cc593eac61qe254a

This half of the URL is comprised of five major parts, each of which is connected with the "&" symbol.  Each part is a variable that is set to a specific value.  (In software, a variable is akin to a container.  A value is whatever the contents of that container might be.) In each of those five parts the variable is separated from its value by the "=" symbol, and the "=" symbol actually tells the Basin server to set that variable at the value shown to the right of the "=" symbol.

Here are the five variables that we are looking at, with an explanation of what they do:

Variable Variable Type Description
act Action Selects an action.
f Forum Selects a forum.
t Thread Selects a thread.
st STarting index Reflects the position a post holds in a thread.  (The initial post is "0," the first reply is "1," the next is "2," etc.)
s Session ID Unique number for user's session.

Our sample URL assigns the following values to these variables:

Variable Value Description
act ST Selects the action "Show Thread".
f 29 "29" is the value for the Basin/D2 Help forum.
t 21148 The unique ID number for our hypothetical thread.
st 0 Directs that the thread be compiled STarting with the original post.
s 16d839g8a45
es8q8cc593e
ac61qe254a
The unique number for our hypothetical user session.

When you are surfing the forums and click on the link to a forum thread, it seems as though you are simply connecting to an existing page holding that thread.  But in reality, there is no such page.  When you click the link, your browser connects to the basin server and the page is created for your display.  Your clicking on the link sends out the URL associated with it.  Using our hypothetical URL, it commands:

Find the Basin server ("http://www.theamazonbasin.com/d2/forums/index.php"), and initiate a query ("?") to display the thread ("act=ST") in the Help forum ("f=29") with this specific thread ID ("t=21148"), and start the display with the original post ("st=0") as part of my current forum session ("s=16d839g8a45es8q8cc593eac61qe254a").

Your browser connects with the Basin server, the server executes the query defined by the URL, and you see the thread as a result.


The BasicsFormattingAdvanced ToolsTricks

Grimborn v. 1.0, 2/10/03

Post Guide cont'd:
Part 1 2 3 4

The Amazon Basin Community

Home  | Diablo II  | Star Wars: Galaxies  | World of Warcraft  | Guild Wars  | Hellgate:London  | Warhammer

Contact the Site Administrator
Copyright and Trademark