How to manage permalinks
From TomatoCMS Documentation
TomatoCMS 2.0.7.1 provides the permalinks management feature.
Now you can configure the links for front-end section in your way.
The following guide help you how to customize the front-end URLs.
I assume that you are in back-end section.
First, click on System > Customize > Permalink section.
You can see the list of front-end pages which their URLs can be customized.
For example, in order to change the URL format of article details page, perform the following steps:
- Jump to Article details URL section
- You can use the default URL (2)
Or select one from list of predefined URLs (3).
If you want to create your own format, click on the Or custom URL check box (4).
You can use the parameters listed in (1). Note that the parameter masked with (*) is required, therefore this parameter has to be used in your custom URL.
You don't have to remember the parameter, because the toolbox will suggest the valid parameter once you typed in the custom URL text box (5).
In this example, I set news/{year}/{month}/{category_id}-{article_id}/{slug}.html as format of article details URL.
After pressing the Save button and back to the front-end section, you will see our articles have new URL.
If have trouble with this, how to restore pages to the default URLs
If you have problem with this (creating invalid URL, for example), you can restore the default URLs by:
- Use the tool above and choose the Select default URL option
- Or: delete the /application/config/permalink.ini file.


