boxturt Posted April 16, 2003 Posted April 16, 2003 I have a second site I am seriously considering bringing here. It's current host is using Zeus. The site is mostly archives and I have about 30,000 links that point back to home.html which uses SSI. I know I can rename home.html to home.shtml and do a permanent redirect through Cpanel - Redirect permanent /subdomain/home.html http://my_domain.com/subdomain/home.shtml But I also discovered I could put AddType text/x-server-parsed-html .html in my .htaccess file and that works equally as well. Or does it?? Which method is more efficient and/or causes less server stress? Thanks, Ty Quote
TCH-JimE Posted April 16, 2003 Posted April 16, 2003 Hi, Neither cause that much of a strain on the server that would be worth worring about, although the htaccess is obviously going to use more processor juice (all of about 0.0000001% extra!) I would say, its best to do it which ever way you want. Personnely I would do it via the redirect in CPANEL as then i can edit this without damaging any other files should i accidentley press the wrong button! Jim Quote
nolageek Posted April 16, 2003 Posted April 16, 2003 I have a second site I am seriously considering bringing here. It's current host is using Zeus. The site is mostly archives and I have about 30,000 links that point back to home.html which uses SSI. I know I can rename home.html to home.shtml and do a permanent redirect through Cpanel - Redirect permanent /subdomain/home.html http://my_domain.com/subdomain/home.shtml But I also discovered I could put AddType text/x-server-parsed-html .html in my .htaccess file and that works equally as well. Or does it?? Which method is more efficient and/or causes less server stress? Thanks, Ty I added a line similar to that that allows *.html pages to be parsed with PHP since I wanted to use php on a few of my pages, but didn't want to break any bookmarks or anything. My other choice was to figure out a mod_rewrite way of doing it - but that made my head hurt. Vincent Quote
boxturt Posted April 16, 2003 Author Posted April 16, 2003 Thank you gentlemen. That's kind of what I figured, I just wanted some more input. As both elements end up in the .htaccess file I think I'll think I'll use the "AddType text/x-server-parsed-html .html" method. That way I won't have to change any extensions or worry about "strays". 15,000+ pages be a real pain to have to debug Thanks again Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.