gteh 0 Newbie Poster

Hey,

I was hoping someone could lead me in the right direction.

I maintain a fairly large corporate/ecommerce site and after reviewing google webmaster tools I found over 500 404's that need to be dealt with. The list of 404's is always growing because people link to our site incorrectly or make spelling mistakes, etc...

It is tedious to constantly write out 301 redirects in the .htaccess file.

I was told that I could accomplish this using RewriteMap, and to store all the URls in a text file that way I can just dump the 404's in the text file.

The site is written in PHP but all the pages are static and physically exist.

Anyone know of any tutorials that could help me out or have any suggestions on how to deal with this 404's in a more efficient way?

I was also thinking about a Wordpress plugin I came across one time that parsed the URL(404) and redirected you to the most relevant page on the site based on the words in the URL. As this isn't a Wordpress site I was thinking maybe there is a similar script I could use.

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.