XF 1.3 Ignore /forums/ and /threads/ in URLs

imthebest

Well-known member
I have installed XF on mydomain.com/forum/. The problem is that whenever I access a forum the URL becomes: mydomain.com/forum/forums/test.1. Also when entering a thread the URL becomes: mydomain.com/forum/threads/random.2

In the first case, I want the URL to become: mydomain.com/forum/test.1 (ignore "forums")
In the second case, I want the URL to become: mydomain.com/forum/random.2 (ignore "threads")

I know that I can rename "forums" and "threads" using route filtering but at this case I don't want to rename anything, I just want to remove those from my URL structure. Is this possible?
 
Last edited:
Back
Top Bottom