OK, so I have a site with about 2000 individual hand coded .html pages. We just switched servers and to a new CMS. The problem is that most of the pages are indexed in google like so: www.myurl.com/keyword. That would be fine, except our new CMS gives a 404 for that because it doesn't integrate with the old pages. Here is what I am thinking/wondering: Is there an easy way to redirect every www.myurl.com/keyword to www.myurl.com/keyword.html without doing 2000 lines in my htaccess file? Thanks! I'm a salesperson trying to be a webmaster at the same time. Life is tough for me! Also, I have some files: www.myurl.com/state where I have pages on the new CMS and DON't want those redirected to the .html. In fact, I've already put in 301's for those www.myurl.com/state/index.html to 301 to www.myurl.com/state
Would something like this work? Would this rewrite all my not found urls to the correct .html address? Or is this too dangerous?
This is a pretty urgent issue for me....if anyone is willing to figure it out, or wants payment, please PM me, and we'll work something out. Thanks!