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 all to Forum list

Discussion in 'XenForo Questions and Support' started by sami simo, Mar 7, 2015.

  1. sami simo

    sami simo Well-Known Member

    I have thousands of 404 errors. many of them point to an old forum installed years ago in the same domain.
    How can I redirect all those non existent threads permanently to my forum list page?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Please post a few example URLs. Then I can give you a rewrite rule to redirect that pattern.
     
    sami simo likes this.
  3. sami simo

    sami simo Well-Known Member

  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Add this code to the top of the .htaccess file in the /vb directory:

    Code:
    RewriteEngine On
    
    RewriteRule ^.*$ /forums/? [R=301,L]
    
     
    sami simo likes this.

Share This Page