• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Route Changer 1.1.3

No permission to download
Deprecated:
XenForo 1.2 now has a "route filter" feature which functionally replaces this addon. Moving forward you should use the "route filter" feature in 1.2 instead of this addon.

__________

This addon lets you change any URL route. For example, this URL:

http://xenforo.com/community/forums/off-topic.7/

Can be changed to this:

http://xenforo.com/community/boards/off-topic.7/

Features:
- allows you to change any URL route including routes from third party addons.
- supports forward and backwards route changes, such as if you change a route and then decide to go back to the original route.
- redirects are handled automatically by XF for all important routes including forums, threads, members, pages, categories, and attachments.

Here is a picture of the settings page:

Screen shot 2012-03-04 at 2.35.48 AM.png

Installation:
This addon uses the standard install procedure...

1) Upload the files. The zip file contains an "upload" folder. Upload the contents of that folder, thereby creating a library/RouteChanger directory on your server.
2) Import the XML in your Admin CP. You can enter the path to the XML file on the server (./library/RouteChanger/addon-RouteChanger.xml) or use the Browse button to upload it from your computer:

Screen shot 2012-10-04 at 7.32.04 PM.png

SEO?
Redirects are handled automatically so search engine links will update and preserve your rank. But you don't want to go changing your routes often. Be thoughtful when changing your routes, and try not to change your mind later.

Technical details:
1) This addon doesn't change anything in the database. It is an added layer that changes routes and links at run time. This addon can be disabled or uninstalled without any lasting effects, but of course you will lose the route changes you implemented which will break old links and may affect SEO.

2) All templates and PHP code that use link syntax can and should continue to use the original routes. So if I use this addon to change "forums" to "boards" then my link syntax in the templates should continue to use "forums". This addon intercepts and changes links on the fly without requiring any changes to the internal routes.

3) This addon has 0 query overhead.

XenPorta:
Note that this addon has a conflict with XenPorta but you can work around it. XenPorta has an option to swap out the index:

Screen shot 2012-03-08 at 6.32.06 PM.png


But the Route Changer addon overrides this option in XenPorta. If you use XenPorta and want to keep your portal at the index then you need to disable the above checkbox in XenPorta and apply the following route changes in this addon:

Screen shot 2012-03-08 at 6.29.54 PM.png
Author
Jake Bunce
Downloads
658
First release
Last update
Rating
4.96 star(s) 27 ratings

More resources from Jake Bunce

Latest updates

  1. 1.1.3 Changes

    Two bug fixes: 1) Fixed top-level category anchor links when the index route has been changed...
  2. 1.1.2b Changes

    1) Fixed this error. Thanks for the report, lms.
  3. 1.1.2a Changes

    1) Increased number of fields from 10 to 30. That is enough to change all public routes for...

Latest reviews

worked exactly as described! Nothing has conflicted so far and it seems to work as intended. I noticed the forum/forums thing after enabling friendly urls.
Wonderfull
Thank you very much.
This add-on corrected a conflict between two other add-ons installed on a Xenforo customers board. http://xenforo.com/community/threads/error.49831/ Thanks Jake!
I'll need this soon.
just what I needed
This mod installed and worked the first time without any errors. It performed as described and is extremely useful to overwrite any Nav function you want.
Thank you Jake for this update, and for working so hard on figuring out the issue I was having - Love your work!!! <3
Excellent update! Works well! :) A++ add-on!
Nifty little add-on! :)