Permalink
Browse files

rollback

  • Loading branch information...
1 parent 05cd0da commit cec47fc759496eab82cf7665c06ee76524a3846d alexander.makarow committed Jul 3, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/blog/final.url.txt
View
@@ -11,7 +11,7 @@ In this section, we describe how to beautify these URLs and make them SEO-friend
1. `/index.php/posts/yii`: leads to the page showing a list of posts with tag `yii`;
2. `/index.php/post/2/A+Test+Post`: leads to the page showing the detail of the post with ID 2 whose title is `A Test Post`;
- 3. `/index.php/post/update/1`: leads to the page that allows updating the post with ID 1.
+ 3. `/index.php/post/update?id=1`: leads to the page that allows updating the post with ID 1.
Note that in the second URL format, we include the post title in the URL. This is mainly to make the URL SEO friendly. It is said that search engines may also respect the words found in a URL when it is being indexed.

0 comments on commit cec47fc

Please sign in to comment.