summaryrefslogtreecommitdiffstats
path: root/user_guide
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2010-01-17 17:35:13 +0100
committerDerek Allard <derek.allard@ellislab.com>2010-01-17 17:35:13 +0100
commit15fd1a6eade2a92364ae5b4e84811d7d8bd1e3b7 (patch)
treec2d53229520eff859444a1e33d724265ca9a23b9 /user_guide
parent81c98057a9b0a3ad26d204efd2639a4843d2b2da (diff)
clarifying redirect helper
Diffstat (limited to 'user_guide')
-rw-r--r--user_guide/changelog.html2
-rw-r--r--user_guide/helpers/url_helper.html5
2 files changed, 3 insertions, 4 deletions
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index f143d4a6c..bd45f69ed 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -102,7 +102,7 @@ SVN Revision: </p>
<h3>Bug fixes for 1.7.3</h3>
<ul>
- <li>Fixed assorted user guide typos or examples (#10693, #8951, #7825, #8660, #7883).</li>
+ <li>Fixed assorted user guide typos or examples (#10693, #8951, #7825, #8660, #7883, #6771).</li>
<li>Increased randomness with <kbd>is_really_writable()</kbd> to avoid file collisions when hundreds or thousands of requests occur at once.</li>
<li>Fixed or clarified assorted user guide typos or examples.</li>
<li>Made <kbd>get_mime_by_extension()</kbd> case insensitive.</li>
diff --git a/user_guide/helpers/url_helper.html b/user_guide/helpers/url_helper.html
index f9435e0b8..1ccb8a713 100644
--- a/user_guide/helpers/url_helper.html
+++ b/user_guide/helpers/url_helper.html
@@ -246,9 +246,8 @@ $url = prep_url($url);</code>
<h2>redirect()</h2>
-<p>Does a "header redirect" to the local URI specified. Just like other functions in this helper, this one is designed
-to redirect to a local URL within your site. You will <strong>not</strong> specify the full site URL, but rather simply the URI segments
-to the controller you want to direct to. The function will build the URL based on your config file values.</p>
+<p>Does a "header redirect" to the URI specified. If you specify the full site URL that link will be build, but for local links simply providing the URI segments
+to the controller you want to direct to will create the link. The function will build the URL based on your config file values.</p>
<p>The optional second parameter allows you to choose between the "location"
method (default) or the "refresh" method. Location is faster, but on Windows servers it can sometimes be a problem. The optional third parameter allows you to send a specific HTTP Response Code - this could be used for example to create 301 redirects for search engine purposes. The default Response Code is 302. The third parameter is <em>only</em> available with 'location' redirects, and not 'refresh'. Examples:</p>