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

XF 1.4 Redirect forum sections to another URL

Discussion in 'XenForo Questions and Support' started by Ranma1981, Jun 4, 2015.

  1. Ranma1981

    Ranma1981 Member

    Hello,

    what is the rewrite url to redirect a specific forum section (and all its post), to another URL?

    Thank you,
    Regards
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    What are you trying to do?

    Threads and posts don't have the forum id or name in the route, so it's not possible with a single rule.
    You would likely have to add a specific rule for each thread.
     
  3. Ranma1981

    Ranma1981 Member

    Hello Brogan,

    my client wants close a forum, and redirect some forum sections, to another URL's. So, are theren't other way to make this? The only solution, is set specific rule for each thread?
     
  4. Mike

    Mike XenForo Developer Staff Member

    More or less. When a thread is removed (which happens when a forum is removed), it'll just start returning a 404.
     
  5. Ranma1981

    Ranma1981 Member

    I see.

    1) So, If I remove the forum, can't I set a permanent redirect and redirect all the forum (in subdomain) to the main domain?

    Example:

    Code:
    Redirect permanent /subdomain http://www.maindomain.it/
    2) And if I don't remove the forum the redirect to the main domain, will work?

    Thank you
     
    Last edited: Jun 4, 2015

Share This Page