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

How To 301 Thread URL To Help Page URL?

Discussion in 'XenForo Questions and Support' started by Anthony Parsons, Nov 9, 2011.

  1. Anthony Parsons

    Anthony Parsons Well-Known Member

    I am expanding my help pages and want to delete the threads that once housed help content, but I would like to 301 redirect that existing thread to the new help page.

    So how would a rewrite be done to redirect:

    threads/thread-title.14107 >>> help/about

  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Add this to the top of your htaccess file:

    Redirect 301 /threads/thread-title.14107/ /help/about/
    If your forum is in a subdirectory then you might have to add the path:

    Redirect 301 /forum/threads/thread-title.14107/ /forum/help/about/
    Anthony Parsons likes this.
  3. Anthony Parsons

    Anthony Parsons Well-Known Member

    Beautiful Jake, much appreciated mate. It was the folder that was screwing me over... I have the forum installed in /c/ and hadn't included it, based on the premise as the .htaccess was also in /c/ thinking it wasn't required. But works now with it included...

    Thank you very much.

Share This Page