XF 2.0 URLs Skipping Forum Folder Name

Vitya

Member
Hello,

We’ve recently got our forum migrated from vBulletin 3.8 to XenForo 2.0.

We’re having a peculiar issue with redirection and certain XenForo URLs which include:
  • E-Mail Activation Confirmation Link
  • Reports Section “Go To Content” Link
There may be more. These links are throwing 404 errors because they’re skipping our forum’s folder name.

Example: The “Go To Content” button in Reports is taking me to following URL.

Code:
www.xxxxx.com/posts/575032/ instead of  www. xxxxx.com/forums/posts/575032/

Same thing is happening when redirecting vBulletin threads to XenForo threads. The forum folder name is getting skipped.

We've lost much traffic due to this. Any pointers will be highly appreciated.

Thanks
 
Last edited:
Sounds like your "Board URL" option is wrong -- it's pointing to your base domain, rather than including the directory you installed XF into. (You can go directly to the option in the control panel by searching for it using the ACP search in the upper right.)
 
Sounds like your "Board URL" option is wrong -- it's pointing to your base domain, rather than including the directory you installed XF into. (You can go directly to the option in the control panel by searching for it using the ACP search in the upper right.)
Awesome. Thanks a bunch, @Mike. It seems to have resolved the issue. 👍

I've another question though:

My forum is located in a "Forums" folder. Because of this, node URLs turn out to be something like this:


The term "forums" twice looks odd in the URL. Is it possible to remove the second "forums" (depicting node) altogether?

Or can I rename it somehow. Perhaps through route filters?
 
Last edited:
You can't generally remove it. You can rename it via route filters. If you define a route filter for each forum ( forums/node-name.1/ -> node-name/), you can potentially do something equivalent to removing it, though that may be tedious. forums/ to f/ might suffice.
 
Back
Top Bottom