Clean urls direct visitors to a shortened version of the web address (url) for your site. Clean urls help make web addresses "human readable" and improve search engine optimization (SEO) by indicating to the search engine that the page content at a web address is the same as the terms searched. This is great for public-facing websites, splash pages and any other site that you would like visitors to access easily, remember and link to.
Clean vs. Dirty
Dirty url:
http://demo.qrimp.com/db.aspx?t=Oscars&vid=1Clean url:
http://demo.qrimp.com/OscarsCreating clean urls
To create clean urls, go to Develop > Add Module > Clean URL Mapper. Once your clean url table is created, navigate to Design > Clean URL Map. Enter the 'clean url' that you would like users to type in and the 'dirty url' that is used to access the item directly.
Entering the clean and dirty urlsClick the add new icon
. You will see two fields "dirty url" and "clean url".
Dirty UrlIn the dirty url field, enter the part of the address of the table/id/view, starting at db.aspx like so: db.aspx?t=OscarsTable&id=1&vid=1. It is important to enter only the end of your url, starting at db.aspx. Do not enter the "http://oscars.qrimp.com/" or a backslash (/).
Clean UrlThis is the name of the site to which you are directing traffic, for example "home". Enter only the word you want to appear after your site name in the url and nothing else.
Advanced Clean URLsFull web address on the Qrimp platform contain the db.aspx page, your table name, the record number and the view. The link below shows the "American Gangster" Record of the Oscars table in detail view.
http://demo.qrimp.com/db.aspx?t=Oscars&id=3&vid=11You can use Field names and view numbers in your clean url to make your web address "human readable". Replace spaces in your records with a plus sign.
http://demo.qrimp.com/Oscars/American+Gangster/11The web address is hierarchical, from site name to table name to record name to view:
http://myapp/tablename/itemname/viewname
The itemname and viewname can be replaced with the number representing the ID for the entry as well:
http://myapp/tablename/25/11
Adding Static Content with Clean UrlsUse Clean Urls with a Pages table to manage static websites.
Watch this demo to learn more:
The clean url mapper will comb the Pages table for pages that contain the word in your clean url when executing a clean url.