Overview
Excerpt |
---|
Friendly URLs in the past had a number of limitations not the least of which was the requirement of the "/go/" prefix and the inability to easily add url attributes in addition to the friendly url string. |
Info | ||
---|---|---|
| ||
If you are using FarCry 5.0.x you should refer to the following document for Friendly URL information: Friendly URL Configuration |
Implementation
We are attempting offer 2 things in FarCry 5.1
- Offer a friendly url string (that requires no prefix) that when typed after your domain name will be replaced with the relevent objectid from your application
- Provide a URL syntax that allows you define the type, objectid, template view and body view webskins
Part 1. Friendly URL String
This is done by including the following in your apache virtual or conf (Apache Only):
...
On the page request, the farFU table is searched for the url.furl attribute. If it is found, then the url.objectid is populated with the relevent objectid just like prior to 5.1
Part 2. URL Syntax (type, objectid, view, bodyView)
As of FarCry 5.1 you can use the following url syntax as a friendly url string and if the specific friendly url string is not found in the database, it is converted to the standard url parameters most often used to access content in the system.
...