23 May 07 3:26 am
Hey Elmo,
Thanks for the awesome comments. It's really nice to be able to help people and see the progress they make, and it's even better to hear things like that from you :)
As for these blasted files/directories... it's so simple, you're going to slap yourself. You know how you create new folders on your computer? You'll usually right-click and go New > Folder, right? Well, that's basically it. Go into the place on your computer where you're keeping all your website building files. Right-click, go "New > Folder" and call it "images". Now shove all your images in there.
Now go back and create another folder alongside this images folder, and call it "electric-scooters" or whatever. Shove all the stuff about electric scooters in there.
Ok, so once you've got all that organized... it's going to break your site something awful. That's because your HTML doesn't know that everything has moved. You need to learn how to reference files in different directories. We also covered that in the Affilorama Update magazine (March... Ask a geek section) so take a look at that. Basically you're going to be writing things like <a href="/electric-scooters/article-name.html"> instead of <a href="article-name.html">
I'm just telling you to get everything sorted and working on your home computer first, before you upload it. Don't worry too much if when you click the links on your home version, they don't work. This is because when you put a backslash / at the start of a link it takes you back to the very root of the directory. This is great on your website (it takes you back to yourdomain.com) but on your computer it takes you back to the very top of your C drive (not even in your documents folder) so it doesn't work.
(If you're doing this in Dreamweaver then it will be ok if you've told Dreamweaver what the folder is you're working out of when you first started building the site. Then these backslashes will just take it back to the top of *that* folder when you preview it in Dreamweaver)
Once you think you've got it sorted... try to upload it. I'm not sure what FTP program you're using, but you might be able to upload everything... folders and all... and it'll just appear on your web server like it appears on your home computer.
Otherwise you can create folders on your server manually. In your FTP program you might see the "new folder" icon on the side that looks at stuff on the web server. Click on that and give the folder the same name as the one you've used on your home computer. Then when you double click on that folder you'll be taken *inside* that folder, and you can upload all the stuff that needs to go in *that particular* folder.
Then to get out of it and go back to the top (root) you use a "back" button or a "up folder" button.
If you're using Dreamweaver and finding it really complicated... try downloading a different FTP program like FileZilla. It's a little easier to wrap your head around when it's removed from your HTML editor, since it's just like shuffling files around on your home computer.
I hope that all makes sense... it's really hard to explain in writing. If you get stuck give us a yell here, or do a bit of a search on the internet for "how to FTP" "how to upload website" or something. I'm sure someone will have written a good, generic tutorial on the subject, and that should help you out until I can get around to creating a video on the subject :)
Let us know how you get on.
Mark