Need SSI function, but can't change urls
Moderator: General Moderators
Need SSI function, but can't change urls
I have a large existing site I'm working on that gets good traffic that my client is heavily dependent on. I don't dare change his url's for fear the engines will drop his pages out of sight and his business will crash. I'd love to be able to use SSI's in the navigation structure, but can't afford to change the extensions of his files to .shtml. Also can't afford to change them to .php's. Is there some alternative method of achieving this function that will not involve changing urls?
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
http://httpd.apache.org/docs/2.2/howto/ssi.html (And lookup the meaning of the AddType directive...)
Thanks for the link. I found this one googling SSI htaccess: http://www.javascriptkit.com/howto/htaccess4.shtml. It mentions that there's a server drain if all .htm pages are read as SSI. Does anyone know if I should worry about it? My pages are now controlled by CSS, with very little coding on each page. Would each htm page being processed as SSI be more of a drain than the many lines of javascript I used to use to control navigation?