About Sitellite       Screenshots       Downloads       Forge      Documentation       Community       Support

You are here: Home / Documentation / Search Engine Friendly URLs in Sitellite

Search Engine Friendly URLs in Sitellite

Calling forms from the URL

Running with the action idea already established, it is a simple matter of switching the "-action" to "-form" to enable forms to be accessible via the URL.  Remember: Same access.php rules apply.  Copy & paste. :)

http://www.example.com/index/myapp-formname-form

That's all there is to it.

Calling apps from the URL

In fact, we just couldn't stop there.  We've introduced a third type of event that can be called from the URL, which is actually an alias, but handy nonetheless: "-app".  For example:

http://www.example.com/index/cms-app

Look familiar? ;)

The alias part of it is that there is no app per se, but a collection of boxes and forms.  So the "-app" URL refers to the default box or form that should be called when loading that app.  This is specified in the config.ini.php file in the conf subfolder of each app, in the default_handler and default_handler_type settings.  Take a look at the various pre-installed apps for examples of how this works.

Page 1: What is URL rewriting?
Page 2: Basic conversions
Page 3: Calling boxes from the URL
Page 4: Calling forms from the URL
Page 5: Referring to the URL components using the Sitellite API

All Tutorials

Members

Note: You can use your SitelliteForge.com account here and vice versa.

Username

Password

Forgot your password?

Not a member? Click here to register

Sitellite 5 Beta


Copyright © 2008, SIMIAN systems Inc.
All rights reserved. Privacy policy
Some of the icons on this site were created by the Gnome Project.