Jump to content

Recommended Posts

Posted

Let's say I wanna be fancy & have SSI includes for my footers/meta tags for all the pages in my weblog ok? I'd have to change all my file names to thisPage.shtml no?

 

So, would movable type complete shut down if I did this? wouldn't the pages just re-write themselves to default *.html instead of *.shtml?

 

what, oh, what can I do to pull this of? can I pull this off?

 

thanks,

!!blue

Posted
I'd have to change all my file names to thisPage.shtml no?
yes

 

So, would movable type complete shut down if I did this?

nope

 

wouldn't the pages just re-write themselves to default *.html instead of *.shtml?
yes, but you're going to have to delete the files with .html extensions. mt doesn't delete.

 

what, oh, what can I do to pull this of?

change the extensions in the output file input box of your index templates. also, change the archiving preference in the preferences section of the weblog config.

 

can I pull this off?

yes

Posted (edited)

 

Ok, I've done the index and the archives file and added the new lines to the .htaccess file:

AddType text/html .shtml

AddHandler server-parsed .shtml

 

now i got some advice fr a good friend o mine that said I can add the following similar lines:

AddType text/html .shtml

AddHandler server-parsed .shtml

 

and edit my other MT templates with the #include tags and they will parse correctly; and even if there are other html files that don't have any SSI code, they will show up correctly too.

 

Before I start going off editing files & such, any ideas? is he right? and did I have too much coffee already? woooot

 

thanks,

!!blue

 

[edit] charle97: thanks for replying on the mt support forum too! ;)

and I went ahead and added the above code to my .htaccess file and it worked double woooot !

[/edit]

Edited by !!blue

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...