Extiverse badge

  • Price: 10 USD lifetime license
  • Bundled translations: English
  • Flarum compatibility: 1.0+
  • See and purchase on Extiverse

Check out the full documentation at https://kilowhat.net/flarum/extensions/custom-paths

Please take note of the Compatibility notes and the Known limitations.

Custom Paths is a Flarum extension that allows you to customize the URL to various user-facing pages.

When a path is customized, the original URL returns a 404 error. You can optionally enable redirects from the old paths to the new paths.

The screenshot below is not up to date, support for more extensions was added since then. Check the documentation for the up to date list of compatible extensions.

Settings

    Extiverse still hasn't processed the extension, but I've already tagged update 1.0.1.

    Further testing uncovered problematic issues with the way some paths were replaced. This has now been fixed.

    Extiverse ran into a mysql error. I will investigate and assure publishing within a few hours.

    Edit: resolved

    It's now live for real https://extiverse.com/extension/kilowhat/flarum-ext-custom-paths

    This is my first "simpler" premium extension. For these kind of extensions, I use a low single payment. Just like with the bigger extensions, you will get updates and email support all the way to Flarum stable and most likely beyond.

    Sad truth: this extension took way longer to develop than I anticipated. The FastRoute router is awesome.

    Feel free to request compatibility with additional extensions. I've added the most popular. I will add support for the profiles sub-pages later, together with integration with my other premium extensions. The SEO extension is not compatible and I'm not sure compatibility is possible without a refactor of SEO (SEO reads the URL, not the route name...)

    Also before anybody asks, accented letters in URLs cause havoc. I found a way to make it work on Firefox, and then it broke on Chrome. So it's not implemented until I find a proper solution.

    But it works very well for simple changes 😃

      Version 1.0.2 - May 22, 2020

      • Fix issues with loading order.

      This might fix DursunCan


      I have added more warnings to the documentation, in particular:

      Do not reuse a path. You cannot re-assign a path that was originally for another route, like /d/, /t/ (if Tags are enabled) or /p/ (if Pages are enabled). You cannot use the same path two times. Doing so will lock you out of the forum and you will need to edit the settings in the database to regain access.


      My premium Wordpress extension is now compatible with Custom paths, you need version 1.4.0 of the Wordpress extension.

      FoF Sitemap will soon be compatible. I have prepared a PR FriendsOfFlarum/sitemap12

      a month later

      Help-me

      Cannot register two routes matching "/tags" for method "GET"
      thrown in /var/www/flarum/vendor/nikic/fast-route/src/DataGenerator/RegexBasedAbstract.php on line 55

      when activating and configuring the extension, I get the error above.

        ram0ng1 can you share a screenshot of your settings?

        Also check that you are not re-declaring a route with a path that was previously used by Flarum (you can't re-use /tags for example). See the documentation for the full list of things that aren't supported.

        If you are completely locked out of the forum because you entered a duplicate route, you'll need to delete the setting from the database manually to regain access.

          7 days later

          Would be cool if you could also change the permalinks of certain discussions.

          16 days later

          DursunCan I'd need to reach out to eddiewebb to check how final the routing code is. Seeing his extension is still in development, I'd prefer to avoid implementing that feature only to see it break later due to changes in the calendar extension.

          Once the extension is released as ready for production, I can definitely do it.

            10 days later
            25 days later

            clarkwinkelmann
            Can you add Shout extension support?

            /messages/{id}
            /conversations

              DursunCan it's going to need a small change on my end on Shout. I'll get on that so Clark can make that happen!

              3 months later

              Version 1.0.3 - November 3, 2020

              • Flarum beta 14 compatibility.
              • Fix /u/<username>/mentions not being affected by the /u/ customization.

              User Directory and Pages support has NOT been tested as those extensions have not been released for beta 14 yet.
              They should still be compatible with Custom Paths once up to date.

              This version can only be installed on Flarum beta 14 and will automatically be installed when you migrate to Flarum beta 14 with Flarum's official instructions.


              Support for more extensions will be added soon.

              2 months later

              Version 1.1.0 - December 27, 2020

              • Flarum beta 15 compatibility.
              • Add ability to customize FoF Gamification rankings page.
              • Add ability to customize the user profile page filters (/discussions, /mentions).
              • Add ability to re-use paths.

              This version can only be installed on Flarum beta 15 and will automatically be installed when you migrate to Flarum beta 15 with Flarum's official instructions.

              Most of the "Known issues" have also been fixed between 1.0.3 and 1.1.0 because the underlying issues in Flarum core have been patched. I have updated the documentation to remove those previous known issues.