Can I can the url for my blog without reinstalling movable type?
September 20, 2005 8:47 PM   Subscribe

Can I can the url for my blog without reinstalling movable type?

I currently have my blog as the index file on my domain, but I want to build a new homepage and have a link to my blog from there. Can I do this without upsetting my movable type install, and if so how do I do it?
posted by richtea to Computers & Internet (4 answers total)
 
Change the index template to publish under a different filename, like say blog.html instead of index.html. Then just make a new index.html page and everything else will have the exact same URL.
posted by mathowie at 8:58 PM on September 20, 2005


Or if it is and index.phpfile than a new index.html file should override it anyway I think. Anyone back me up on that?
posted by meta87 at 9:45 PM on September 20, 2005


Mathowie is (of course!) right, but make sure you check your other templates in case you've hard-coded references to "index.html" as the main page of your blog. The default templates won't have this problem but if you edited anything yoursel (say, to add a header a graphic that is also a link back to the main blog page) you might have to change those references.
posted by bcwinters at 9:58 PM on September 20, 2005




Or if it is and index.phpfile than a new index.html file should override it anyway I think. Anyone back me up on that?


if i understand you correctly, yes and no. Usually web servers will deliver an index.htm or index.html before a index.php, but this is not necessarily the case with all servers. These things are set server side. Where I work, our personal standard is to default to .htm, .html, but if you know your website is going to be serving up say, .asp files all the time, you'd want to set it to serve the index.asp (or Default.asp) before the index.htm. The reason for this is to reduce the work the computer has to do in order to find a file to serve. If, for example, the server looks for index.htm first, THEN index.asp, it makes sense to have the webserver deliver the index.asp first, otherwise, everytime someone hit your domain without specifying the default file, it'd look to see if there was an index.htm, and THEN find and serve the index.asp (assuming, of course, there is no index.asp).

The windows default may actually serve Default.asp first, but it's been awhile since i've looked at our settings. Though now that i think about it, i probably should.

fwiw, what everyone else said is correct. I currently manage a site that has an index.htm that is diff from the MT blog which builds at sitename.php, because the owner wants particular new users to a domain to hit his corporate page before they hit his blog.
posted by fishfucker at 1:45 AM on September 21, 2005


« Older Karaoke in North Jersey or NYC   |   E-mail breakups: Worse than Hitler? Newer »
This thread is closed to new comments.