Resource icon

Route Changer 1.1.3

No permission to download
How to change categories title
site.com/forum/categories/mobilnye-telefony.24/
to
site.com/forum/categories/mobile_phones/
 
How to change categories title
site.com/forum/categories/mobilnye-telefony.24/
to
site.com/forum/categories/mobile_phones/

This addon can change the categories part, not the node name.

In the default software, forums have a URL Portion when you edit the forum which allows you to change that part of the URL. Categories do not have this.
 
This addon doesn't explicitly redirect, but if the XenForo controller canonicalizes the request then it will auto-redirect to the new route.

Redirects shouldn't be very important in your case since you wouldn't have a strong Google presence for your new RM yet.
On my other routes, it redirects.
So this is still a problem/bug.
 
- redirects are handled automatically by XF for all important routes including forums, threads, members, pages, categories, and attachments.

Those are the routes that canonicalize the request.
 
Does anyone else get an error page when clicking on a category while having route changer enabled?
When I disable the add-on the categories works as intended again.
Let me clarify: “forums” in the url is changed to categories.
First category is welcome. So when I click on it, it directs me to http://forums.domain.com/categories/welcome.5/ Which gets me an error.
When I disable I get http://forums.domain.com/#welcome.5 instead which is correct., but now every page gives an error. What can I do?
 
Does anyone else get an error page when clicking on a category while having route changer enabled?
When I disable the add-on the categories works as intended again.
Let me clarify: “forums” in the url is changed to categories.
First category is welcome. So when I click on it, it directs me to http://forums.domain.com/categories/welcome.5/ Which gets me an error.
When I disable I get http://forums.domain.com/#welcome.5 instead which is correct., but now every page gives an error. What can I do?

What is the error?
 

Ok, that's not related to this addon.

Possible causes of friendly URLs not working (usually manifests as "404 not found" error on forum pages):

1) The .htaccess file is not in place in your forum directory.

2) Sometimes you need to specify RewriteBase in your .htaccess file (specify the name of your forum directory):

RewriteBase /xenforo

3) Your server doesn't have mod_rewrite installed. Consult with your host about this.

4) Your server doesn't have AllowOverride enabled:

http://httpd.apache.org/docs/2.0/mod/core.html#allowoverride

Consult with your host about this.
 
Thanks Jake I checked all that but none of it seems to be the issue (as far as I can tell). All the friendly URL's work except for the category links. The folder (also subdomain) in which xenforo is installed has it's own .htaccess and I removed "www" from every url so at least mod_rewrite should be installed right?
Do you know why when I enable the add-on, the category link http://forums.domain.com/#welcome.5 changes to http://forums.domain.com/categories/welcome.5/?
 
Do you know why when I enable the add-on, the category link http://forums.domain.com/#welcome.5 changes to http://forums.domain.com/categories/welcome.5/?

You had one route change defined:

forums -> categories

So the "forums" route was renamed to "categories" thereby overriding the existing "categories" route. The fact that you overrode the "categories" route is what caused this. It can be fixed by changing the "categories" route to something else. I added the following route change in addition to the existing one:

categories -> cats

That fixed the problem.

This is not a bug. It's the expected behavior of this addon. You just need to be sure not to override an existing route without also changing the route that was overridden.
 
not sure if it's been mentioned, any chance of using a variable to include the category/subforum title

/threads/topictitle becomes /<subforum-title>/topictitle
 
not sure if it's been mentioned, any chance of using a variable to include the category/subforum title

/threads/topictitle becomes /<subforum-title>/topictitle

This addon doesn't do that and I have no plans to add this feature. That requires a separate addon.
 
Top Bottom