{"id":6301,"date":"2023-09-13T14:15:47","date_gmt":"2023-09-13T18:15:47","guid":{"rendered":"https:\/\/wayneaenglish.com\/WP\/?p=6301"},"modified":"2023-09-13T14:15:47","modified_gmt":"2023-09-13T18:15:47","slug":"your-web-site-and-things-not-mentioned-in-any-book","status":"publish","type":"post","link":"https:\/\/wayneaenglish.com\/WordPress\/android\/your-web-site-and-things-not-mentioned-in-any-book\/","title":{"rendered":"Your Web Site and Things Not Mentioned In Any book"},"content":{"rendered":"<table width=\"50%\" align=\"center\">\n<tbody>\n<tr>\n<td align=\"center\" valign=\"top\"><a title=\"Attila's Revenge\" href=\" \" target=\"_blank\" rel=\"noopener\"><\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"vertical-align: middle;\" src=\"https:\/\/wayneaenglish.com\/attila\/AR_small.jpg\" alt=\"Attila's Revenge\" width=\"60px\" height=\"85px\" align=\"middle\" hspace=\"5px\"\/><\/a>\n<\/td>\n<td align=\"center\" valign=\"center\"><a title=\"Web Content Rx\" href=\"http:\/\/www.amazon.com\/Web-Content-Rx-Webmasters-Business\/dp\/1601630689\/ref=sr_1_1?ie=UTF8&amp;qid=1446257371&amp;sr=8-1&amp;keywords=web+content+rx\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter\" style=\"vertical-align: middle;\" src=\"https:\/\/wayneaenglish.com\/pix\/webcontentrx-thebook.gif\" alt=\"Web Content Rx\" width=\"60px\" height=\"85px\" align=\"middle\" hspace=\"5px\"\/><\/a><\/td>\n<td align=\"center\" valign=\"center\"><a title=\"Social Networking\" href=\" \" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter\" style=\"vertical-align: middle;\" src=\"https:\/\/wayneaenglish.com\/pix\/WhenSNFails.jpg\" alt=\"Network Your Way to Success\" width=\"60px\" height=\"85px\" align=\"middle\" hspace=\"5px\"\/><\/a><\/td>\n<td align=\"center\" valign=\"center\"><a title=\"Amazon Author Pages\" href=\"https:\/\/www.amazon.com\/Wayne-English\/e\/B001P8BW7G\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter\" style=\"vertical-align: middle;\" src=\"https:\/\/wayneaenglish.com\/WordPress\/wp-content\/uploads\/2019\/05\/amazon-author-page.gif\" alt=\"See My Books\" width=\"60px\" height=\"47px\" align=\"middle\" hspace=\"5px\"\/><\/a><\/td>\n<td align=\"center\" valign=\"center\"><a title=\"Find A Job\" href=\"http:\/\/www.amazon.com\/Finding-Search-Engines-Networking-ebook\/dp\/B00CMRBJ72\/ref=sr_1_2?s=digital-text&amp;ie=UTF8&amp;qid=1369940708&amp;sr=1-2&amp;keywords=web+content+rx&amp;tag=appmatic-20\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter\" style=\"vertical-align: middle;\" src=\"https:\/\/wayneaenglish.com\/pix\/99centtech.jpg\" alt=\"See My Books\" width=\"60px\" height=\"85px\" align=\"middle\" hspace=\"5px\"\/><\/a><\/td>\n<td align=\"center\" valign=\"center\"><a title=\"Short Stories\" href=\"https:\/\/www.amazon.com\/Triumph-Tragedy-Seven-Short-Stories-ebook\/dp\/B06ZZGNSSN\/ref=asap_bc?ie=UTF8\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter\" style=\"vertical-align: middle;\" src=\"https:\/\/wayneaenglish.com\/pix\/triumph.jpg\" alt=\"See My Books\" width=\"60px\" height=\"85px\" align=\"middle\" hspace=\"5px\"\/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table width=95% align=center>\n<tr>\n<td  align=\"left\">\n<p><span style=\"padding-right: 5px; padding-bottom: 5px ; margin-bottom: -5px; float: left; color: red; font-size: 75px; line-height: 65px; font-family: Georgia; text-shadow: 0px 0px 10px grey;\">I<\/span>f this is so important why isn&#8217;t it in a book? Well, my friend, because it is assumed that you already know it, or instructors don&#8217;t think it&#8217;s intellectual enough to teach. What is this?<\/p>\n<ul>\n<li>It&#8217;s how to name your files and why<\/li>\n<li>It&#8217;s how to name your folders<\/li>\n<li>It&#8217;s how to set up your folders on your development machine so that when copied to the server your website works<\/li>\n<\/ul>\n<p><b>Let&#8217;s Do This<\/b><\/p>\n<p style='text-indent:30px'>You&#8217;re going to make a website. What you want to do is eliminate as much confusion and repetitive checking of what you&#8217;ve done. So, let&#8217;s start with the names of your files. Use lower case when you name your files and keep the names as short as possible. Here&#8217;s why: when you must refer to these files in links, a menu, as a graphic those files names must be spelled exactly.<\/p>\n<p style='text-indent:30px'>On your development you can do all sorts of things that will result in a working website, <b>but your site man not work at all when you upload it to the server.<\/b> That&#8217;s because when you refer to files on your development machine that path may not exist on the server.\n<\/p>\n<p style='text-indent:30px'>Here&#8217;s an example: you have a graphic file in the folder c:\\camping trip\\flower.jpg. And you put that path into the graphic tag like this:<\/p>\n<p><center><b>&#038;ltimg src=flower.jpg&#038;gt<\/b> this only works when the flower is in the folder where the file calling it is locatd<\/center><br \/>\n<br \/> and the picture of the flower appears in your web site. Goo you think. Wrong. When you upload your site you won&#8217;t be uploading the folder campingtrip and that image will not appear in your website.\n<\/p>\n<p style='text-indent:30px'>To get around this all you need to do is set up your file structure like this:<\/p>\n<div style='margin-left:50px'>\n<ol>\n<li>css<\/li>\n<li>pix<\/li>\n<li>pdf<\/li>\n<\/ol>\n<\/div>\n<p>See what we&#8217;ve done? Now you have a folder for pictures. It&#8217;s pix in lower case.  You have a folder for your css style files. It&#8217;s called css. and you have a folder for your PDF files. It&#8217;s called pdf. the reason all names and folders are in lower case is this: to access them you must spell them specifically as they are created on a <strong>Linux server.<\/strong> And, believe me, either of them is far better than a windows server<\/p>\n<p style='text-indent:30px'>Should you spell your pix folder PiX and then try to access a file in it with pix. It may well fail. <strong>You see, on a Linux server upper and lower case letters are treated as separate characters<\/strong>. Windows operating systems don&#8217;t do that. Now you see what I meant when I said things may work on your development machine but not on your server.<\/p>\n<p><center>My apologies to you folks in the Apple environment as I&#8217;m not an Apple person and don&#8217;t know how they would respond to this sort of thing.<br \/>\n<\/center>\n<\/p>\n<p style='text-indent:30px'>I&#8217;ve never seen this in any book on the web, HTML, CSS, JavaScript. Not anywhere. but that&#8217;s okay because now you know. How did I learn this? The hard way. And, yes, I wish someone told me. Would have saved a lot of rework.\n<\/p>\n<p style='text-indent:30px'>Be well, my friend. Best of luck. Please feel free to add your comments below. I&#8217;d love to hear from you. All responsible comments are answered and published. What else would you like to see here? Let me know?\n<\/p>\n<p><center>Like this blog? See my website <a href=\"wayneaenglish.com\" target='_blank' rel=\"noopener\"><font color=red>WayneAEnglish.com<\/font><\/a> for my books, short stories, publications and writers tools.<\/p>\n<p><\/center><\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>If this is so important why isn&#8217;t it in a book? Well, my friend, because it is assumed that you already know it, or instructors don&#8217;t think it&#8217;s intellectual enough to teach&#8230;.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,104],"tags":[],"class_list":["post-6301","post","type-post","status-publish","format-standard","hentry","category-android","category-writing"],"_links":{"self":[{"href":"https:\/\/wayneaenglish.com\/WordPress\/wp-json\/wp\/v2\/posts\/6301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wayneaenglish.com\/WordPress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wayneaenglish.com\/WordPress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wayneaenglish.com\/WordPress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wayneaenglish.com\/WordPress\/wp-json\/wp\/v2\/comments?post=6301"}],"version-history":[{"count":0,"href":"https:\/\/wayneaenglish.com\/WordPress\/wp-json\/wp\/v2\/posts\/6301\/revisions"}],"wp:attachment":[{"href":"https:\/\/wayneaenglish.com\/WordPress\/wp-json\/wp\/v2\/media?parent=6301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wayneaenglish.com\/WordPress\/wp-json\/wp\/v2\/categories?post=6301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wayneaenglish.com\/WordPress\/wp-json\/wp\/v2\/tags?post=6301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}