- Sep 8, 2001
- 2,615
- 0
- 0
Hello (once again),
Tonight is just plagued with problems.. Here's whats going on. I changed all my web pages (except my eCommerce section) to SHTML pages so i could dynamically modify my navigation bar. Now here's the problem, i have a lot of outside links pointing to places which are now dead... For example.. I have about 70 different links to this file...
http://www.hallusin8.com/small_instructions.htm
That file is no longer in my root directory, as i've removed it in favor of this SHTML stuff...... The file now resides as...
http://www.hallusin8.com/small_instructions.shtml
and of course that brings up an "HTTP 404 NOT FOUND"....
Ok since modifiying my .htaccess file worked so well to reference the shtml html htm files respectively, is there a way to automatically execute a function as such....
if document a is not found under extension a, look for extension b..
Or a real world application like this... the outside link brings someone to "http://www.hallusin8.com/small_instructions.htm" which doesn't exist. Is there a script to tell the server to look for the same fiel with just a "shtml" extension before giving the 404 NOT FOUND?
Any help is highly appreciated!
- RJ
Tonight is just plagued with problems.. Here's whats going on. I changed all my web pages (except my eCommerce section) to SHTML pages so i could dynamically modify my navigation bar. Now here's the problem, i have a lot of outside links pointing to places which are now dead... For example.. I have about 70 different links to this file...
http://www.hallusin8.com/small_instructions.htm
That file is no longer in my root directory, as i've removed it in favor of this SHTML stuff...... The file now resides as...
http://www.hallusin8.com/small_instructions.shtml
and of course that brings up an "HTTP 404 NOT FOUND"....
Ok since modifiying my .htaccess file worked so well to reference the shtml html htm files respectively, is there a way to automatically execute a function as such....
if document a is not found under extension a, look for extension b..
Or a real world application like this... the outside link brings someone to "http://www.hallusin8.com/small_instructions.htm" which doesn't exist. Is there a script to tell the server to look for the same fiel with just a "shtml" extension before giving the 404 NOT FOUND?
Any help is highly appreciated!
- RJ
