CSB Publishing Settings · Using FTP · Search engines: Spiders & Robots · Meta Tag, Keywords, Page Properties · Frames or No-Frames? · Subdirectory · Working Window · Design file image errors · Design file will not save · Publishing Errors · Page Layout · CSB3 & CSB4 Known Issues (Problems) · CSB5 NOTES · Upgrade to CSB5
Subdirectory
Creating a subdirectory can be done in several ways.
This chart helps identify when it's best to let CSB make the subdirectory for you!
![]()
![]() ![]() Each subdirectory will have it's own file!
For this website (samisite.com), I use several tlx files. One for each subdirectory.
I set the same host settings, and the subdirectory name is different for each tlx file.
Each subdirectory was made by CSB when I published the tlx file the first time
MAIN.tlx - My home page, web building page, CSB websites, list of tutorials, etc.
Published to: http://www.samisite.com
PUBLISH.tlx - this file contains pages that pertain to publishing issues. YOU ARE HERE.
You are on the page: http://www.samisite.com/publish/id80.htm
Published to: http://www.samisite.com/publish
PHOTO.tlx - this file contains pages that pertain only to working with images, photos, animations, etc.
Published to: http://www.samisite.com/photo
COLOR.tlx - this file contains pages that pertain only to the color charts for CSB.
Published to: http://www.samisite.com/color
![]() You control by telling it the host setup and checking or not checking the subdirectory box and supplying a name!
For a main directory: Set up host, then do not check box for subdirectory.
For a subdirectory: Set up/choose the same host, then check the box to publish to a subdirectory in the publishing options, then name the subdirectory.
![]() You can not have some pages upload to the main area, and some pages into a subdirectory.
If you publish the file to two different subdirectories, or two different sites, ALL THE PAGES will publish to that folder!
![]() You must have another CSB/Trellix tlx file. You can do it one of two ways. In either case, you still have the original file for your main site. And now you would have a second file that contains pages that only pertain to the subdirectory topic. (lets call it vacation2004)
Either:
1) create a brand new file from scratch, put the pages you want into it and publish to your new subdirectory vacation2004, or
2) take a file you have now and FILE SAVE AS and RENAME the file to your new subdirectory. Now you can modify existing pages, insert new pages, delete old pages, etc. But when you publish this file, it publishes to the subdirectory vacation2004 instead of the main area of the site.
![]() ![]() Try to limit length of name. Short is better. Single word. No spaces or symbols [exception: _ underscore and - dash]
(Note: some servers are very finicky about caps! photos, Photos, PHOTOS, PhoTos are all different! Consider using all lowercase!)
![]() ![]() ![]() Once you assign the subdirectory name in the publishing options, CSB holds it for you for future publishing. You only have to assign that subdirectory name once. Just open the tlx file, insert a new page (either using insert on menubar or right click on map > insert). When you publish the next time, the new page will be sent to the subdirectory on your website.
Let's say you already have a tlx file made for the subdirectory baseball with 3 pages in it and now you want to add a new page to that subdirectory. Open the file, add a page and publish. The file will not disturb your main site. It will remember to go to the baseball subdirectory!
![]() You can use absolute or relative inking to go from main directory to sub, or sub to sub, or sub to main.
Absolute linking is a full URL address: http://www.samisite.com
This is necessary for any link coming in from offsite, or any link going out offsite.
You may also choose to use this as the standard way you input links. That's fine.
![]() ![]() TIP: the easy way to link to your new subdirectory:
publish it, open it in a browser window, capture the URL address, paste that address into a URL link!
Relative linking.... it's shorter, less typing.
NOTE: You will receive a warning notice from the program because you will not be putting a full address into the field. That's ok. Say YES you want to continue.
![]() ![]() Something to keep in mind for your newly created subdirectories: (before you upload to your site): Each tlx file must have one page checked as a "home page" that CSB will rename index.htm. If you do not want to lose a page name to index, then create a page that will be the default for that file.
Example 1: Use a table of contents (gateway) for that subdirectory: If you type in http://www.samisite.com/photo/ it defaults to a page named index.htm (like every other tlx file), but I have made that page a table of contents for that particular subdirectory.
Example 2: Default to the main page in the subdirectory: If you type in http://www.samisite.com/color/ and http://www.samisite.com/color/index.htm are the same page. The first page in the file is the main CSB color chart. This subdirectory I wanted to default to a page rather than an index of pages.
![]() Your home page in each subdirectory will be index.htm. But what about the other pages in the subdirectory?
Page Names: Consider leaving page names the same if you already have incoming links for the site.
Best way to avoid problems? Follow standard naming practices for page names, downloadable files, music, anchors, subdirectories, images, and ANYTHING YOU POINT TO that can become part of a webpage address.
![]() ![]() ![]() ![]() Examples:
![]()
![]() ![]() ![]() Once you have your individual files, how do you get them onto your site?
The image below shows how the settings for a new subdirectory called test-csb would look for my site.
When you add a subdirectory, just check the box to publish to a subdirectory, and name the subdirectory and
the name of the subdirectory will appear in the URL. Your FTP site information stays the same with no changes.
If you already have a folder on your site called posters, do not choose that as a subdirectory.
Choose an unused name so CSB (or Trellix) can create a new directory. Now publish.
Each time you publish after that, the subdirectory name will remain so CSB will not overwrite a different directory UNLESS YOU change that subdirectory name!
![]() ![]() You can create a subdirectory inside another subdirectory. Sorting information into practical sections makes sense. But too much of a good thing is still a bad idea. Limit your subdirectory levels to 2 or 3 at most! Keep your names SHORT for best results.
The table below demonstrates that you can have a month folder inside a year folder inside your photo subdirectory. If your folder does not exist, CSB will create it for you when you publish!
![]() Note: Trudy asked a great question on the forum about layering subdirectories. And Rick responded with YES and described how. Thought I would add my take on the subject so it's all in one place. Thanks for the idea folks!
![]() If you split a large file into several smaller files to make subdirectories you will need to do more to retain your search engine rankings.
The visitor will be used to visiting your web page at http://yourwebspace.com/id12.htm
But you have moved that page, and renamed it to be http://yourwebspace.com/buttons/blue.htm
Search engines will be confused and links to the old page are broken.
You need to REDIRECT your visitors to your new pages. There are a few ways to do it.
![]() This is an instruction on the server that tells incoming visitors that the page http://yourwebspace.com/id12.htm has been renamed or moved to this place: http://yourwebspace.com/buttons/blue.htm When put in place on the server level, your visitors do not see the rerouting of traffic. They just arrive at the page you want them to see. Neat and clean. Setting a PERMANENT REDIRECT is your best option and accepted by the search engines.
![]() ![]() ![]() ![]() This is a last resort option if you can not set a server-side redirect.
If you can not do server-side redirect:
![]() ![]() ![]() ![]() ![]() You will be redesigning and rebuilding behind the scenes. Build your subdirectories first.
Get them linked back and forth from subdirectory to subdirectoy and from subdirectory to the pages you will keep in your main directory (like home page, contact page, etc).
As you split your subdirectories, you can begin to make changes to your main directory to start pointing to the new subdirectories. But at this point, you keep the old pages (removing or limiting content) and pointing to the new pages. So even though you still have a page called id80.htm in your main directory, put a link or redirect over to the NEW subdirectory page: mysite.com/buttons/id80.htm or mysite.com/buttons/blue.htm . This is slow process but helps the search engines to find the new pages naturally without doing much harm to the rankings.
Finally, you tackle your last project, your main directory.
![]() ![]() ![]() ![]()
![]() CSB Publishing Settings · Using FTP · Search engines: Spiders & Robots · Meta Tag, Keywords, Page Properties · Frames or No-Frames? · Subdirectory · Working Window · Design file image errors · Design file will not save · Publishing Errors · Page Layout · CSB3 & CSB4 Known Issues (Problems) · CSB5 NOTES · Upgrade to CSB5
|