Just want to chat? Talk some smack. If it doesn't fit into one of the areas below then you'll be posting here (Note: Please try and find the best section before posting here)

404 Error Messages From all over

carlmasure
Posts: 120
Joined: 24 Nov 09
Trust:

404 Error Messages From all over

Hi all,

I was looking at my stats in cpanel and noticed that I'm getting several 404s on my domain with sub domains that are related to my niche, but not on my website. It looks as if people are typing in my domain name hoping to get to another site's page, but alas, they end up at my site. Error traffic is good, but what to do with it?

I installed the 404 SEO plugin for WP and it is supposed to offer link suggestions to other pages on my site based on keywords within my site. After some testing, I found out that some of the suggestions offered by the plugin include links to my competitors. Is there a plugin that only will provide links to my site?

Or, can I simply insert code into my 404 editor page that simply redirects people to one of my landing pages? And, if so, what code should I use?

Thanks in advance,

Carl
  • 0
Site Admin
aletta
Posts: 3719
Joined: 09 Jul 06
Trust:
It's pretty standard to just redirect a 404 to a particular page on your site. It's typically your homepage, but you could use one of your landing pages.

Look in your theme editor (Appearance > Editor) and see if you have a 404 page in there.

If so, just stick this little bit of PHP in the top (make sure there's nothing else in there!)

Code: Select all
<?php
header( 'Location: http://www.newURL.com' ) ;
?>


You might be able to do this kind of thing with a plugin... there are so many out there. It's best to have a dig around and maybe ask on some specialist Wordpress forums if you can't find some smart person in here to help you.
  • 0
Are your changes not showing up on your website? Try doing a hard refresh! http://www.refreshyourcache.com/en/cache/
 
carlmasure
Posts: 120
Joined: 24 Nov 09
Trust:
Thanks a ton Aletta! I was fooling around with my 404 page and added some catchy text apologizing and providing a link to the page I want them on.
  • 0

This topic was started on Mar 03, 2010 and has been closed due to inactivity. If you want to discuss this topic further, please create a new forum topic.