Resource Router

Developer

Rob Sanchez

3rd Party (Free)

767 downloads (last 90 days)

Download v1.1.3

EE Version Support

  • ExpressionEngine 2
  • ExpressionEngine 3

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Extension, Plugin

Tags

Control your URLs by remapping URI routes to a specific HTTP response, using CodeIgniter-style routing rules.

Why?

  • You need to break out of the template_group/template_name paradigm of traditional EE routing
  • You need to nest urls on a Structure/Pages URI (pagination, categories, etc.)
  • You need to point multiple url patterns to a single template
  • You need custom JSON/HTML endpoints that do not warrant a full EE template
  • You want to remove excess conditional logic in your templates

An example router configuration:

$config['resource_router'] = array(
    'blog/:pagination' => 'blog/index',
    'blog/:category_url_title/:pagination' => 'blog/_category_index',
    'blog/:url_title' => 'blog/_detail',
);

View the README for more information.

NOTE: ExpressionEngine 2.6+ or ExpressionEngine 3.0+ and PHP 5.3+ are required

Download Resource Router

EE Support Downloads Add-On Version Release Date
2.6.0+ Download 1.1.3 May 13, 2016

Hooks Used

If the add-on is an extension, and ties into ExpressionEngine's core files, it will use ExpressionEngine hooks. We are listing any hooks the add-on uses for developers to have an easier time locating other add-ons that they can reference for their own work.

  1. core_template_route

This entry was created February 27, 2014, 12:56 pm.
This entry was last updated May 13, 2016, 11:06 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

8 Reviews:

Alex Kendrick 09.21.16

Alex Kendrick
Rating - {addon_rating_average}

Still the best! So flexible and easy to use.

JUK 03.21.16

JUK
Rating - {addon_rating_average}

Resource Router ended a month-long quest to sanitise my 404 handling - now everything is clean and CE Cache has only valid entries. Thanks Rob!

Codesly, Inc. 05.06.15

Codesly, Inc.
Rating - {addon_rating_average}

This is now a must have in our builds. Advanced routing options defined in config files. Genius…

Jeff Pullinger 05.06.15

Jeff Pullinger
Rating - {addon_rating_average}

Resource Router made working with ExpressionEngine fun again. Essential part of our ee tool kit

Ryan Masuga 03.20.15

Ryan Masuga
Rating - {addon_rating_average}

We prefer to have our routes defined in a config file rather than the control panel, so this is our go-to for routing. Very well executed, as is everything by Rob.

Mark Croxton 02.13.15

Mark Croxton
Rating - {addon_rating_average}

An absolutely brilliant add-on. Removing messy routing logic from your templates and keeping it all in one place makes your templates leaner, more legible and modular. An essential part of my toolkit now.

travisb 08.09.14

travisb
Rating - {addon_rating_average}

Just awesome. Many thanks Mr. Sanchez.

Jeremy Worboys 04.05.14

Jeremy Worboys
Rating - {addon_rating_average}

This is extremely powerful addition to my toolbox.