Samrc Posted July 7, 2003 Posted July 7, 2003 On my employer's current web host CAPITALIZATION is no problem. http://www.lambertusa.com/color/id12.htm and http://www.lambertusa.com/COLOR/ID12.HTM and http://www.lambertusa.com/COLOR/id12.HTM and http://www.LAMBERTUSA.com/Color/id12.htm and http://www.lambertUSA.com/COLOR/ID12.HTM All work fine and take you to the same page no matter how it is typed. It's the only really nice feature they offer! The actual file should be the first version as that's the way the folder and files are made. I have noticed on my TCH account that a 404 is reached if the CAPS aren't exactly correct. Is there a way to override as done at my employer's current webhost? If not, I will have to travel page by page to verify EVERY LINK before I move the site to TCH. Serious time and pain!!!! Please note site was started before I knew that I need to be careful of caps. -Samantha Quote
TCH-Rick Posted July 7, 2003 Posted July 7, 2003 The difference is that the site is currently on a Windows server and we are running Linux servers. The capitalization in the domain name doesn't matter but the filenames do. For example, if you put a file called Index.html in your public_html directory you will get a directory instead of your page but if you change it to index.html it will load fine. I tend to be sure that all of my filenames are lowercase letters only which makes things easier. Quote
Head Guru Posted July 7, 2003 Posted July 7, 2003 All UNIX and Linux based Web Servers are case sensitive in regard to file names. Mac OS or Windows NT based servers are not normally (since Mac OS and Windows do not use case-sensitive file systems). If you use the browse or the Point & Shoot method to make your links, then windows will create the link with the same case as your file name. When working in Mac OS/Windows, changing the case on a file name doesn't make it a different file. The Mac OS/Windows sees "myfile.html", "MyFile.HTML", and "MyFiLe.HtMl" as the same file. But to a UNIX or Linux based server, they are three different files. This may cause confusion if you change the case in the name of some linked files. The files will also work on a Mac OS or Windows NT based server. But on a UNIX or Linux based server the links will be broken. The best rule of thumb is to determine a naming convention for your files, including what case will be used, then stick to it. Avoid renaming files after they've been linked. The web is more restrictive on the use of special characters in file names. The following characters can't be used the in file names: • forward slash ( / ) • more than one dot ( . ). The only period used has to be part of the extension as in index.html • You can't use the hyphen ( - ) as the first character in a file name. Quote
Samrc Posted July 7, 2003 Author Posted July 7, 2003 As I mentioned in my first post, I began building the site before I knew there could be a problem with capitalization. But for quite some time, I have been trying to make it a habit to use all lowercase. I expect that many maybe (50 - 80) pages will have to be manually pruned before I move the site...bummer. Yuck! I was aware of / . and - issues and don't have to worry about those, only CAPS and Caps, and capS, etc. Yes, you are right. The current host is running Windows servers. Besides caps, is there anything else that could throw a wrench in the works due to changing to Linux server? Thanks again for such a quick and complete response! This is EXACTLY why I want to move the company site to TCH, even if I have to spend time cleaning first! SUPPORT! What a wonderful concept! Whoda thunk it?! Rock Sign -Samantha Quote
doc Posted July 7, 2003 Posted July 7, 2003 I can't think of anything else off the top of my head that might slow you down moving your site. I know it is kind of a pain to check all your file-names with your links, but I do believe that Linux makes for a much better server than does M$. I've used both, administered both, and I'll have to say there was MUCH less frustration with the Linux server. Linux is much more secure, and for an example I run a Linux firewall on my home network which has run non-stop for the past 2 years without a single crash. Try that with Windows! Sorry for the hassle you're facing, but it will well be worth it, as you have already seen by the response to your question here in the forum.....happy de-casing! Quote
TCH-Don Posted July 7, 2003 Posted July 7, 2003 Samantha, give me a shout when you get the site up here, and I will help look for bad links. Quote
TCH-Sales Posted July 7, 2003 Posted July 7, 2003 Just added what Bill had to say about this to the FAQ and How-To's section of the forums! http://www.totalchoicehosting.com/forums/i...=ST&f=20&t=3043 Quote
Samrc Posted July 7, 2003 Author Posted July 7, 2003 Thanks Turtle. I will take you up on that offer! I saw that answer posted on the FAQ...I'm glad. -Samantha Quote
doc Posted July 7, 2003 Posted July 7, 2003 Yeah...what Turtle said...I'd be happy to help as well..... Quote
TCH-Don Posted July 7, 2003 Posted July 7, 2003 Ok Doc, its killing me how did you get the title of The poster formerly known as... which I love by the way Thumbs Up Quote
Samrc Posted July 7, 2003 Author Posted July 7, 2003 This place is filled with really nice folks. Thanks for the offer Doc! (I want to put your animated avatar on my desktop to remind my PC that I can do as much damage to it as it's done to me...!) -Samantha Quote
doc Posted July 7, 2003 Posted July 7, 2003 Turtle....HG fixed me up with that .. lol...I like it... Samrc ...there are lots of nice folks on here. It's like a big happy family! I know what you mean about the 'puter situation.... it can be downright frustrating can't it? Quote
TCH-Don Posted July 7, 2003 Posted July 7, 2003 Thanks HG, that was very nice of you. And it is very appropriate Doc! Quote
doc Posted July 7, 2003 Posted July 7, 2003 That's our HG....he knows us like a well read book.... Quote
SEO Posted July 8, 2003 Posted July 8, 2003 Samantha: Not sure what software you are using to create your files but see if there is a global replace (case sensitive). If so (which there should be), it would be a snap to change all the HTML within the site quickly. Hope there is. 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.