This page will explain how to use SEF URL with J!TrackGallery
When activating SEF URL you may sometimes loose original URL and become unable to browse J!TrackGallery pages. Whatever your SEF URL are, you will always be able to browse pages using the original URL given here.
topic | URL (URI) |
---|---|
Overview | /index.php/en/component/jtg/ |
categories | /index.php/en/component/jtg/cats/default |
GPS Tracks | /index.php/en/component/jtg/files/list |
Geoposition | index.php?option=com_jtg&view=jtg&layout=geo |
Add tracks | /index.php/en/component/jtg/files/form |
My Tracks | /index.php/en/component/jtg/files/user |
Update track | /index.php/en/component/jtg/files/form/4 |
Delete track | /index.php/en/component/jtg/files/delete/4 |
one category tracks | http://demoj25.jtrackgallery.net/index.php/en/component/jtg/files/list?cat=12 |
single track | http://demoj25.jtrackgallery.net/index.php/en/component/jtg/files/file/12 |
You may want to remove the component name component/jtg from your URL to obtain:
This is done by first enabling SEF URL.
Important: Not all URL are converted to SEF URL. SEF URL intends to enhance referencing. For that reason, only those URL directly related to categories and files (tracks) are converted. URL are not translated for forms used for files and categories (upload new, delete, modify…)
This is simply obtained by creating a menu item (or tree of items) to the component. If this menu item is not needed (not ued in Menus) you can hide it. The alias you give the menu will appear in the URL. The procedure hereby given replace the component name by mytracks
The procedure given before should give URI like /hiking/mytracks/cats/default when browsing categories.
You may prefer something like /hiking/mytracks/categories. This is simply obtain by defining a new menu of type J!TrackGallery categories, parent to /hiking/mytracks named categories.