• 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?

Anthony Parsons

Well-known member
#1
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

?????
 

Jake Bunce

XenForo moderator
Staff member
#2
Add this to the top of your htaccess file:

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

Code:
Redirect 301 /forum/threads/thread-title.14107/ /forum/help/about/
 

Anthony Parsons

Well-known member
#3
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.