Subscribe to the feed RSS/Atom News archive

  • New Uservoice forum, new news archive and new features

    2011-02-15

    Added the news archive and the Uservoice forum (see the "feedback" button at the left side). Feel free to add suggestions!

    Today there are three new features in the development version: redirects, detection of the absence of the trailing slash and the fixing function of the trailing slash.

    The following is an example of the trailing slash fixer code:

    # At the beginning of the routing code
    if ($phraw->detect_no_trailing_slash()) {
        $phraw->fix_trailing_slash();
    } else if (...) { # The rest of the code
    

    A the same time it is possible to use URLs with and without the trailing slash. This feature is for SEO purposes.


Previous page