A plugin for manipulating the contents of a GetSimple front page depending on the URL structure.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
front_router
LICENSE
README.md
front_router.php

README.md

GetSimple Front Router Plugin

Executes user-defined actions depending on the requested page URL. Designed to be used in conjunction with other plugins in order relate page actions to specific URL structures (without modifying any .htaccess files).

Requirements

Features

  • Select page content based on the structure of the URL
  • Improve SEO for your site by having informative site URLs
  • Easily create custom error pages for specific page types
  • Combine functionality from other plugins to display your own custom page content
  • Create front page routes for your own plugins by registering hooks with this plugin
  • Available in English, Italian, French, German and Russian
  • Works with and without Fancy/Pretty URLS enabled (v0.3+)
  • Build RESTful API services/endpoints (v0.5.0+)

Screenshots

screenshot of admin panel

screenshot of successful route

Getting Started

  1. Install and enable the plugin.
  2. Go to Plugins -> Manage Routes.
  3. Add, edit and delete your routes.
  4. Visit a URL on your site that matches the pattern to test your route.

Check out the wiki for more information.

Examples

More examples in the wiki and the examples folder of the plugin.

Wiki

Documentation, API, tutorials and contribution guidelines are all available on the wiki. Contributions are welcome.

License

GetSimple Front Router is licensed under MIT.

Contributors

  • dimayakovlev - Russian translation, CSS enhancements in 0.4.2
  • tablatronix - Enhancements for Version 0.4.0
  • cnb - Spanish translation

Copyright

All rights reserved.