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

Renaming links

Discussion in 'XenForo Questions and Support' started by Renada, Aug 6, 2011.

  1. Renada

    Renada Active Member


    I'm moving my forum to a folder of a different name, something more appropriate to the content. Everything works except for a few links that still insist on displaying the old folder name thus resulting in broken links.

    Could anyone tell me a query I could run or what else I need to do to update all these links? I've rebuilt all the cache etc. and that didn't fix it.

    Renada :)
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Are you referring to post content?

    If so, you can run a query on the database like so:

    UPDATE xf_post SET message = REPLACE(message, 'old_path', 'new_path')

    Just replace old_path and new_path as necessary.

    Take a backup first though, just in case.
  3. Renada

    Renada Active Member

    Ta muchly Brogan, you're a star :)

Share This Page