: The number of soft 404 errors is increasing because of redirects to the home page I have an increase in soft 404 errors. Using Apache in my .htaccess file I have: Redirect 301 /test.html
I have an increase in soft 404 errors.
Using Apache in my .htaccess file I have:
Redirect 301 /test.html /page/pop/test
Redirect 301 /about.html /about
I have also tried:
Redirect 301 www.example.co.za/test.html www.example.co.za/services/test
however whenever I go to:
www.example.co.za/test.html http://www.example.co.za/about.html
it just redirects to the home page
I also have: RewriteRule ^.*$ index.php [NC,L] in .htaccess
More posts by @Samaraweera270
2 Comments
Sorted by latest first Latest Oldest Best
Neither of your attempts to get the syntax for your "Redirect 301" rules is correct. The format should be:
Redirect 301 /relative-uri fully.qualified/url
So:
Redirect 301 /test.html www.example.co.za/page/pop/test Redirect 301 /about.html www.example.co.za/about
As nathangiesbrecht says, your rewrite rule may also be interfering.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.