XF 2.0 Internal link structure

Smashbox

Member
Not sure if this was a setting that I overlooked, but Xenforo's default URL paths are a mess. It's possible I missed something.

Right now I have for example xyz.com

When I click on a particular forum like "general", I get xyz.com/forums/general

Now, when I click on a thread inside of general, I get xyz.com/threads/thread-name

So essentially /forums/ and /general/ were both dropped. Is this was just something implemented for looks and unintentionally detrimental to SEO?

Going to xyz.com/threads/ just returns a 404 page, therefor it has no user relevance.
 
Last edited:
@Smashbox

That would be as-designed behaviour... it sounds like you want to include the name of the forum/node in the URL when viewing a thread. Unfortunately all you can do is just rename the URL portions using route filters:
https://xenforo.com/xf2-docs/manual/route-filters/

I think it is done this way to help prevent ambiguity because when you are viewing the thread list in a forum you can adjust the way the list is shown in various ways, e.g.
https://xenforo.com/community/forum...st_days=14&order=last_post_date&direction=asc

And in a given thread you can link to a specific post, e.g.
https://xenforo.com/community/threads/frequently-asked-questions.5183/post-181037

So by clearly separating the content types it makes the URL more cleaner...

But in terms of SEO, it shouldn't be an issue because the navigation breadcrumb has rich snippets, and Google is definitely recognising the structure as shown in SERPs (the green text):
Screen Shot 2018-03-29 at 3.07.46 pm.webp
Combined with submitting your sitemap into Google Search Console you should be fine.
 
Back
Top Bottom