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

Changing /posts/ to /threads/

Discussion in 'XenForo Development Discussions' started by nrep, Feb 6, 2014.

  1. nrep

    nrep Well-Known Member

    I've seen quite a few threads that are concerned about having /posts/ redirects on the main page and forums (for the last post info). I agree that this is less than ideal from an SEO perspective (but in performance/caching terms works well) - not least when /posts/ is in robots.txt, as all of that front page link juice is wasted.

    I'd like to change it so that instead of seeing /posts/xxx, I get a link that goes directly to the main /thread/ (which may then be implemented for guests only).

    It looks like all of the cached values in the thread table only include things like the userid, postid and so on - but no threadid.

    Is there a way that I may be able to make this change using templates only? If not, could it be possible using a plugin which wouldn't add too much weight to loading times. I'm guessing that caching the last threadid at the same time as the other values would be the logical way to do this.

    Any advice would be most appreciated :).
    BamaStangGuy likes this.
  2. BamaStangGuy

    BamaStangGuy Well-Known Member

    I really liked how vBSEO treated this for guests. Simply went to the first post of the thread if you weren't logged in.
  3. nrep

    nrep Well-Known Member

Share This Page