htaccess question
Posted by: oion
Posted on: 2004-07-03 08:37:00
I'm considering using the SolidComponents PHP things included in my account, but to do so I'd need to convert all my pages - which are .shtml - to .php (for consistency, instead of just one page being .php and the rest .shtml).
That isn't a problem in itself, but because a number of other sites link to individual pages, I was wondering if it's possible to avoid sending a 404 error page for linked shtml pages by automatically sending people to the corresponding php page via htaccess. Not individual page redirects in an htaccess file, but is it possible to use a wildcard notation? Would this create too much unnecessary server overhead? Or maybe there's another way.
Otherwise I suppose I'll just let people get the error page for a while; at least that's customized to look pretty.
Thanks