sami simo Well-known member Mar 7, 2015 #1 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?
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?
Jake Bunce Well-known member Mar 7, 2015 #2 Please post a few example URLs. Then I can give you a rewrite rule to redirect that pattern. Upvote 0 Downvote
sami simo Well-known member Mar 8, 2015 #3 Most urls have this format: http://www.example.com/vb/t7289-2/ http://www.example.com/vb/t7436/ http://www.example.com/vb/showthread.php?t=1289 I want to redirect them all to this page: http://www.example.com/forums/ Upvote 0 Downvote
Most urls have this format: http://www.example.com/vb/t7289-2/ http://www.example.com/vb/t7436/ http://www.example.com/vb/showthread.php?t=1289 I want to redirect them all to this page: http://www.example.com/forums/
Jake Bunce Well-known member Mar 9, 2015 #4 Add this code to the top of the .htaccess file in the /vb directory: Code: RewriteEngine On RewriteRule ^.*$ /forums/? [R=301,L] Upvote 0 Downvote
Add this code to the top of the .htaccess file in the /vb directory: Code: RewriteEngine On RewriteRule ^.*$ /forums/? [R=301,L]