XF 1.5 Route filter?

click here

Active member
Okay, a little confused on the route filter deal but here is my situation.

Currently my VB3.8 site sits at
http://example.com/forums/showthread.php?t=1234

I would like to simply re-name the old "forums" directory to lets say "oldforums"

My current XF1.5 forum ready to go live is in a directory called "community" like below.
http://example.com/community/forums/threads/example.1/

I thought I could then simply rename the XF directory from "community" to "forums" and I would be good to go but noticed I would then have http://example.com/forums/forums/threads/example.1/ which I would not want.

What is the best way to proceed so I end up with "http://example.com/forums/threads/example.1/" and not an extra "forums" in there?
 
Rename your VB forums directory to oldforums.
Move the forums directory inside community up one level.

You don't need route filters for this.
 
If you have a URL like this:
http://example.com/community/forums/threads/example.1/

Then that suggests you have installed XF in the community/forums directory.

If you have installed XF in the community directory, a threads URL would look like:
http://example.com/community/threads/example.1/

Again in the community directory, the URL for a specific forum would look like:
http://example.com/community/forums/forum.1/
 
Hmmm, the only directory's that I have in the "community" directory are:
community/data
community/install
community/internal_data
community/js
community/library
community/styles

There is no "forums" directory inside of the "community" directory.
 
You could rename the second forums with something else using route filters. Though you can't get rid of it completely - otherwise how would you access an actual forum list URL?
 
You could rename the second forums with something else using route filters. Though you can't get rid of it completely - otherwise how would you access an actual forum list URL?
I might rename the 2nd forums to my main keyword or something... if I did that would it mess up the redirect script etc. that I need to run still?
 
In VB it would have been something like /forums/showforum.php

You could use route filters to change forums to showforum if that seems more acceptable.
 
Top Bottom