Hello! Me, again...
Just did the includes in my html...which is now shtml. (I'm learning...)
I realized that I needed to REDIRECT the html queries to the appropriate shtml files.
Here is my .htaccess file:
# This file is placed in the ShoBag root directory
<Files *>
Header set Cache-Control: "private, pre-check=0, post-check=0, max-age=0"
Header set Expires: 0
Header set Pragma: no-cache
</Files>
DirectoryIndex default.shtml
Redirect /default.html /default.shtml
Redirect /about.html /about.shtml
Redirect /contact.html /contact.shtml
Redirect /privacy.html /privacy.shtml
Redirect /return.html /return.shtml
Redirect /site.html /site.shtml
Redirect /uniqconcepts.html /uniqconcepts.shtml
Redirect /index.html /default.shtml
Redirect /index.shtml /default.shtml
ErrorDocument 401 /Error401.shtml
ErrorDocument 403 /Error403.shtml
ErrorDocument 404 /Error404.shtml
ErrorDocument 500 /Error500.shtml
The header commands were put there by my hosting company. I'm guilty on all others.
My problem:
I have another domain (seblake.com) under the shobag directory. It appears that the REDIRECT in the shobag .htaccess "overflows" into all of the subdirectories. Here is the .htaccess I created for the seblake subdirectory:
# This file is placed in the seblake (Max-Tech) directory
<Files *>
Header set Cache-Control: "private, pre-check=0, post-check=0, max-age=0"
Header set Expires: 0
Header set Pragma: no-cache
</Files>
DirectoryIndex default.html
Redirect /default.shtml /default.html
Redirect /about.shtml /about.html
Redirect /contact.shtml /contact.html
Redirect /privacy.shtml /privacy.html
Redirect /site.shtml /site.html
Redirect /index.html /default.html
Redirect /index.shtml /default.html
ErrorDocument 401 /Error401.html
ErrorDocument 403 /Error403.html
ErrorDocument 404 /Error404.html
ErrorDocument 500 /Error500.html
I'm sure you can recognize the loop...it confuses my browser... ;)
Care to offer a solution?
Also, do I need the header lines in the seblake .htaccess file also?
As always, I thank you for your time and assistance!!
< Steve >