User Guide: .../user_guide/general/creating-pages
Near the end of the tutorial
...
<?php
$slug = uri_segment(3);
if (!empty($slug))
{
...
should be
...
<?php
$slug = uri_segment(2);
if (!empty($slug))
{
...
When I did the tutorial I ended up with:
http://localhost:8888/news/first-slug as my URI
Comments