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

What's the URL structure options?

zastavra

Formally Stevez
#1
Hello,

What URL structure can I use with XenForo?

I'd like to have by default:

domain.com/forum/f12345/ for forums
domain.com/forum/t12345/ for threads

Is there an option for that?
 

Mike

XenForo developer
Staff member
#6
That might be possible in 1.2 with Route Filters. Not had a chance to check that out yet.

@Mike?
Not exactly because your replacement would have to be "t{id}" which isn't allowed. You could go with t/{id} and f/{id} provided content titles were turned off in the options. (t/12345/ and f/12345)
 

zastavra

Formally Stevez
#7
Well, I have a vBulletin forum with vBSEO installed using the URL structure that I've nentioned above and I'd like to get rid both (vB - vBSEO) BUT without to change the URL structure. I've done this a couple of times in the past and I'd like to avoid to many 301 redirects for the same URL if possible.

Any suggestion would be appreciated.
 

Boothby

Active member
#9
I think during the import all IDs are re-assigned anyway, right? Therefore, you will not be able to avoid the 301-redirects. The best were if you would stay with the new xf-url-structure.
 

zastavra

Formally Stevez
#17
I'd like to inform that what I asked it can be done with Route Filters: forums/{name:digit}/ chanched to forum/f{name:digit}/ and threads/{name:digit}/ changed to forum/t{name:digit}/. My forum is up and running Xenforo.

The only think I couldnt do is redirect the old forum home page (domain.com/forum/) to the new (domain.com/).