diff --git a/user_guide/general/changelog.html b/user_guide/general/changelog.html
index 7aa7789..b0a46b4 100644
--- a/user_guide/general/changelog.html
+++ b/user_guide/general/changelog.html
@@ -106,7 +106,7 @@
 <li>Added support for % character in URL.</li>

 <li>Added the ability to supply full URLs using the <a href="../helpers/url_helper.html">anchor()</a> helper function.</li>

 <li>Added mode parameter to <a href="../helpers/file_helper.html">file_write()</a> helper.</li>

-<li>Added support for changing the port number in the <a href="../libraries/database/configuration.html">Postgre driver</a>.</li>

+<li>Added support for changing the port number in the <a href="../database/configuration.html">Postgre driver</a>.</li>

 <li>Moved the list of "allowed URI characters" out of the Router class and into the config file.</li>

 <li>Moved the MIME type array out of the Upload class and into its own file in the applications/config/ folder.</li>

 <li>Updated the Upload class to allow the upload field name to be set when calling <a href="../libraries/file_uploading.html".>do_upload()</a>.</li>

@@ -193,10 +193,10 @@
 <li>Added the ability to pass objects to the <strong>insert()</strong> and <strong>update()</strong>  database functions.

 This feature enables you to (among other things) use your  <a href="../general/models.html">Model class</a> variables to run queries with. See the Models page for details.</li>

 <li>Added the ability to pass objects to the <a href="../general/views.html">view loading function</a>: $this->load->view('my_view', <var>$object</var>);</li>

-<li>Added <kbd>getwhere</kbd> function to <a href="../libraries/database/active_record.html">Active Record class</a>.</li>

-<li>Added <kbd>count_all</kbd> function to <a href="../libraries/database/active_record.html">Active Record class</a>.</li>

+<li>Added <kbd>getwhere</kbd> function to <a href="../database/active_record.html">Active Record class</a>.</li>

+<li>Added <kbd>count_all</kbd> function to <a href="../database/active_record.html">Active Record class</a>.</li>

 <li>Added language file for scaffolding and fixed a scaffolding bug that occurs when there are no rows in the specified table.</li>

-<li>Added <a href="../libraries/database/queries.html">$this->db->last_query()</a>, which allows you to view your last query that was run.</li>

+<li>Added <a href="../database/queries.html">$this->db->last_query()</a>, which allows you to view your last query that was run.</li>

 <li>Added a new mime type to the upload class for better compatibility.</li>

 <li>Changed how cache files are read to prevent PHP errors if the cache file contains an XML tag, which PHP wants to interpret as a short tag.</li>

 <li>Fixed a bug in a couple of the active record functions (where and orderby).</li>

@@ -213,8 +213,8 @@
 <ul>

 <li>Added support for <a href="models.html">Models</a>.</li>

 <li>Redesigned the database libraries to support additional RDBMs (Postgre, MySQLi, etc.).</li>

-<li>Redesigned the <a href="../libraries/database/active_record.html">Active Record class</a> to enable more varied types of queries with simpler syntax, and advanced features like JOINs.</li>

-<li>Added a feature to the database class that lets you run <a href="../libraries/database/call_function.html">custom function calls</a>.</li>

+<li>Redesigned the <a href="../database/active_record.html">Active Record class</a> to enable more varied types of queries with simpler syntax, and advanced features like JOINs.</li>

+<li>Added a feature to the database class that lets you run <a href="../database/call_function.html">custom function calls</a>.</li>

 <li>Added support for <a href="controllers.html">private functions</a> in your controllers.  Any controller function name that starts with an underscore will not be served by a URI request.</li>

 <li>Added the ability to pass your own initialization parameters to your <a href="creating_libraries.html">custom core libraries</a> when using $this->load->library()</li>

 <li>Added support for running standard <a href="urls.html">query string URLs</a>.  These can be optionally enabled in your config file.</li>

@@ -226,7 +226,7 @@
 <li>Added better class and function name-spacing to avoid collisions with user developed classes. All Code Igniter classes are now prefixed with <dfn>CI_</dfn> and

 all controller methods are prefixed with <dfn>_ci</dfn> to avoid controller collisions. A list of reserved function names can be <a href="controllers.html">found here</a>.</li>

 <li>Redesigned how the "CI" super object is referenced, depending on whether PHP 4 or 5 is being run, since PHP 5 allows a more graceful way to manage objects that utilizes a bit less resources.</li>

-<li>Deprecated: <var>$this->db->use_table()</var> has been deprecated. Please read the <a href="../libraries/database/active_record.html">Active Record</a> page for information.</li>

+<li>Deprecated: <var>$this->db->use_table()</var> has been deprecated. Please read the <a href="../database/active_record.html">Active Record</a> page for information.</li>

 <li>Deprecated: <var>$this->db->smart_escape_str()</var> has been deprecated. Please use this instead: <var>$this->db->escape()</var></li>

 <li>Fixed a bug in the exception handler which was preventing some PHP errors from showing up.</li>

 <li>Fixed a typo in the URI class.  $this->total_segment() should be plural: $this->total_segments()</li>

diff --git a/user_guide/general/models.html b/user_guide/general/models.html
index 26b85f6..71f68bd 100644
--- a/user_guide/general/models.html
+++ b/user_guide/general/models.html
@@ -122,7 +122,7 @@
 <br />

 }</code>

 

-<p>Note: The functions in the above example use the <a href="../libraries/database/active_record.html">Active Record</a> database functions.</p>

+<p>Note: The functions in the above example use the <a href="../database/active_record.html">Active Record</a> database functions.</p>

 

 

 <a name="anatomy"></a>

@@ -207,7 +207,7 @@
 <p>When a model is loaded it does <strong>NOT</strong> connect automatically to your database.  The following options for connecting are available to you:</p>

 

 <ul>

-<li>You can connect using the standard database methods <a href="../libraries/database/connecting.html">described here</a>, either from within your Controller class or your Model class.</li>

+<li>You can connect using the standard database methods <a href="../database/connecting.html">described here</a>, either from within your Controller class or your Model class.</li>

 <li>You can tell the model loading function to auto-connect by passing <kbd>TRUE</kbd> (boolean) via the third parameter,

 and connectivity settings, as defined in your database config file will be used: 

 

diff --git a/user_guide/general/scaffolding.html b/user_guide/general/scaffolding.html
index 80a7c98..d3408f4 100644
--- a/user_guide/general/scaffolding.html
+++ b/user_guide/general/scaffolding.html
@@ -95,7 +95,7 @@
 <h2>Enabling Scaffolding</h2>

 

 <p>Note: The information on this page assumes you already know how <a href="controllers.html">controllers</a> work, and that you have

-a working one available.  It also assumes you have configured Code Igniter to auto-connect to your <a href="../libraries/database/index.html">database</a>. 

+a working one available.  It also assumes you have configured Code Igniter to auto-connect to your <a href="../database/index.html">database</a>. 

 If not, the information here won't be very relevant, so you are encouraged to go through those sections first.

 Lastly, it assumes you understand what a class constructor is.  If not, read the last section of the <a href="controllers.html">controllers</a>

 page.</p>

diff --git a/user_guide/general/security.html b/user_guide/general/security.html
index f6e2768..f94f02e 100644
--- a/user_guide/general/security.html
+++ b/user_guide/general/security.html
@@ -131,7 +131,7 @@
 <li><h2>Escape all data before database insertion</h2>

 

 <p>Never insert information into your database without escaping it. Please see the section that discusses

-<a href="../libraries/database/queries.html">queries</a> for more information.</p>

+<a href="../database/queries.html">queries</a> for more information.</p>

 

 </li>