Fork me on GitHub
Subscribe 1

Ticket #824 (fixed enhancement)

Route prefix

  • Created: 2013-01-18 00:29:11
  • Reported by: Franz
  • Assigned to: Franz
  • Milestone: 2.0-alpha2
  • Component: code
  • Priority: normal

When integrating FluxBB into an existing Laravel 4 app, people most likely want to prefix the forum URLs, e.g. with a subfolder "forum/".

This needs to be possible to do by simply changing a configuration value.


Franz 2013-01-30 11:44:30

  • Owner set to Franz.

This is now easily possible thanks to this Laravel ticket having been closed.

Franz 2013-01-30 14:42:13

Commit f7f96eb to installer master

Ticket #824: Add route prefix when generating config file.

Franz 2013-01-30 14:45:03

Commit 4c039f6 to core master

#824: Add route prefix when generating routes.

Franz 2013-01-30 14:50:58

  • Status changed from open to fixed.

And done.

To route your forum to a subdirectory of the directory where you installed it (very handy if you're integrating FluxBB and Laravel sites), simply add a "route_prefix" key to app/config/fluxbb.php with the path of the targeted subdirectory as value:

    'route_prefix' => 'community/support'

This would route your forum to /path/to/fluxbb/community/support.