Loading...
 
Skip to main content

History: Url Suffix Cleaner

Source of version: 14 (current)

Copy to clipboard
            ! URL Suffix Cleaner
New in ((Tiki25))

Sometimes, email clients or web pages can generate links that look like: "''Pagename.''", "''PageName)''", "''PageName.)''", or "''PageName,''" and lead to a "''Page not found''" error.

Fortunately, Tiki is smart enough to handle this, thanks to an exciting feature: "__URL Suffix Cleaner__".

!!! What it does
Concretely, when this feature is enabled, if a requested page is not found, it tries to remove one or two characters from the end of the URL to see if it gets a perfect match with an existing working page, and if so, it redirects the user to that 

!!! How to use
As Tiki gives us the possibility to use only what we want, the URL Suffix Cleaner feature must be activated before we can use it
!!!! Steps to activate
* From your System menu click on Settings (You must be an admin)
* Under the dropdown select Control Panels
{img src="display1862" link="display1862" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"}
* This being an advanced feature, you need to turn on "Advanced" under Preference Filters
{img src="display1859" link="display1859" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"}
* Then under Global Setup, Click on General Settings to open the General Settings page
{img src="display1863" link="display1863" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"}
* Under the Navigation tab on the General Settings page, find a section called "Redirects"
{img src="display1864" link="display1864" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"}
* Scroll down a little bit to find the URL Suffix Cleaner feature, and check the box to activate it
{img src="display1980" link="display1861" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"}
* Finally click on Apply button (at the bottom of the page) to apply your changes. A success message will pop up at the top of the page
{img src="display1860" link="display1860" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"}

!!!! Example of use
With the feature being activated, we can now take advantage of it in Tiki.
It works with any page but for this example, we are going to use the default, simple Tiki home page.
Because "A picture paints a thousand words", and a video, even more, let's see now in this short video the URL Suffix Cleaner feature in action (:biggrin:)
{img src="display1869" link="display1869" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"}