Loading...
 
Skip to main content

History: Url Suffix Cleaner

Source of version: 10

Copy to clipboard
            ! 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: "__Clean URLs__".

!!! 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 Clean URLs 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 Clean URLs feature, and check the box to activate it
{img src="display1861" 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 Clean URLs feature in action (:biggrin:)
{img src="display1868" link="display1868" width="400" rel="box[g]" imalign="center" desc="Click to expand" align="center" styleimage="border"}

        

History

Advanced
Information Version
Josue Zirimwabagabo 14
Josue Zirimwabagabo 13
Josue Zirimwabagabo 12
Josue Zirimwabagabo 11
Josue Zirimwabagabo 10
Josue Zirimwabagabo 9
Josue Zirimwabagabo 8
Josue Zirimwabagabo 7
Josue Zirimwabagabo 6
Josue Zirimwabagabo 5
Josue Zirimwabagabo 4
Josue Zirimwabagabo 3
Josue Zirimwabagabo 2
Josue Zirimwabagabo 1