Resource icon

xF1 Add-on 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:



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 theBrowse button to upload it from your computer:



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:

xenforo_com_community_attachments_screen_shot_2012_03_08_at_6_32_06_pm_png_26869__.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:

xenforo_com_community_attachments_screen_shot_2012_03_08_at_6_29_54_pm_png_26870__.png
Author
AnimeHaxor
Size
28.4 KB
Extension
zip
Downloads
18
Views
1,556
First release
Last update

More resources from AnimeHaxor

Similar resources

Allows a single CloudFlare page rule to apply to login & registration
0.00 star(s) 0 ratings
Downloads
1
Updated