From ff845f94cc8876bc6c23c2f55b695bc569038512 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Thu, 26 Jun 2008 17:05:55 +0000 Subject: changed your-site.com to example.com doc-wide --- user_guide/general/urls.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'user_guide/general/urls.html') diff --git a/user_guide/general/urls.html b/user_guide/general/urls.html index 9230f98c8..bbfd009ce 100644 --- a/user_guide/general/urls.html +++ b/user_guide/general/urls.html @@ -61,7 +61,7 @@ URLS

By default, URLs in CodeIgniter are designed to be search-engine and human friendly. Rather than using the standard "query string" approach to URLs that is synonymous with dynamic systems, CodeIgniter uses a segment-based approach:

-www.your-site.com/news/article/my_article +example.com/news/article/my_article

Note: Query string URLs can be optionally enabled, as described below.

@@ -69,7 +69,7 @@ approach to URLs that is synonymous with dynamic systems, CodeIgniter uses a The segments in the URL, in following with the Model-View-Controller approach, usually represent:

-www.your-site.com/class/function/ID +example.com/class/function/ID
  1. The first segment represents the controller class that should be invoked.
  2. @@ -87,7 +87,7 @@ contain functions that make it easy to work with your URI data. In addition, yo

    By default, the index.php file will be included in your URLs:

    -www.your-site.com/index.php/news/article/my_article +example.com/index.php/news/article/my_article

    You can easily remove this file by using a .htaccess file with some simple rules. Here is an example of such a file, using the "negative" method in which everything is redirected except the specified items:

    @@ -105,11 +105,11 @@ a request for your index.php file.

    In your config/config.php file you can specify a suffix that will be added to all URLs generated by CodeIgniter. For example, if a URL is this:

    -www.your-site.com/index.php/products/view/shoes +example.com/index.php/products/view/shoes

    You can optionally add a suffix, like .html, making the page appear to be of a certain type:

    -www.your-site.com/index.php/products/view/shoes.html +example.com/index.php/products/view/shoes.html

    Enabling Query Strings

    -- cgit v1.2.3-24-g4f1b