Is it perfectly fine to redirect my 404 error page?
I just recently added a 301 redirect code into my 404.php template. Now any 404 error, gets redirected to the homepage of my blog.
Is this perfectly OK to do?
Or, are there some drawbacks to doing this?
It seems that every webmaster I talk to, has a different opinion on this matter.
There's 2 reasons why I did this,
1. Instead of my visitors seeing a 404 error page, they get redirected automatically to any page of my blog that I choose. I chose the homepage.
2. Any link juice going to my 404 error page can be redirected to a different page that I want to get ranked higher.
I know they have several Wordpress plugins for redirecting 404 errors, but I chose to just insert a simple 301 redirect code to handle this instead.
I would love to hear any feedback on this matter, appreciate it.
My bad, this probably should've gone in programming talk forum.
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."
For those interested in e-commerce for Wordpress: Market Theme