The Publish Section contains properties that apply to sites that are published on the web. The Canonical Base URL property applies to most published sites. The remaining properties apply to Family History Hosting customers only.
Canonical Base URL
If you publish a site online, and the site is not private, you should enter the base URL for the site in the Canonical Base URL property. The Canonical Base URL will not directly affect the operation of the site, but will affect how some search engines index the pages of the site.
GedSite appends the subfolder and filename of each page to the Canonical Base URL to form the preferred URL for the page, and inserts the preferred URL into the HTML for the page as a "canonical" URL. That URL is not visible on the page, but search engines retrieve the canonical URL when they add the page to their indexes. When the page appears in search results, Google and other search engines will use the canonical URL.
|Example 1: Your site is published to "example.com"|
|Set Canonical Base URL to:||https://www.example.com|
|A page filename is:||search.htm|
|The resulting preferred URL is:||https://www.example.com/up/search.htm|
|Example 2: Your site is published to "example.com/genealogy"|
|Set Canonical Base URL to:||https://www.example.com/genealogy|
|A page filename is:||search.htm|
|The resulting preferred URL is:||https://www.example.com/genealogy/up/search.htm|
In both examples above, the Canonical Base URL uses the
https: protocol. If your domain does not support HTTPS, use the
The primary reason to specify a canonical URL is to instruct search engines which version of a URL is the preferred version when a single page is accessible via two (or more) URLs.
There are several reasons why a single page might be available via multiple URLs. As an example, here are several ways to see the homepage for Bezansons.com:
In the list above, the URLs are all aliases; there is a single document, but the web server recognizes multiple URLs to request it.
If the "index.htm" page for Bezansons.com specifies a canonical URL, Google (and other search engines) will consider all the URLs above as references to the same document. When other sites link to any of the URLs that lead to the document, those links will be counted towards the canonical URL, and that improves the placement of the document in search results. When the document appears in search results, Google will use the canonical URL.
In addition to the URL aliases shown above, there are other reasons why the same document might appear via different URLs. It is beyond the scope of this help page to describe those reasons. Using the Canonical Base URL property should be useful in most, if not all, examples where a site's content is available via different URLs. However, it is up to the user to ensure that the Canonical Base URL will actually lead to the same document.. If you publish the same content on two different servers, but you allow the two versions to get out of sync, the Canonical Base URL will not be correct and may lead to confusing search results.
Family History Hosting
The following properties are used by the Family History Hosting > Publish command to automate the publishing process for Family History Hosting customers.
The Publish command removes the guesswork from maintaining the public version of your site. It keeps track of which files need to be replaced, and avoids transferring large images that have not changed. It compresses HTML files into one or more ZIP files, and transfers the ZIP files in order to reduce FTP overhead. The result is a faster, more reliable upload process that is easier to use than manual methods.
Family History Hosting customers receive an email message that indicates how to set the properties below. Please refer to that message when setting these properties.
The FHH ID indicates the Family History Hosting server where your web site files reside. This value will be a number.
The Upload Method property controls which method GedSite will use to upload the main HTML files for the web site. The default is Compressed Archive, a method where GedSite compresses the files and uploads them via ZIP files. This reduces the communication overhead but requires special support on the server.
Do not use the File by File method unless directed to by Family History Hosting support staff.
The FTP Server is the host name used for the FTP (file transfer) processing. The FTP Server's host name is "ftp." followed by your domain name. So, for example, if your domain was "example.com", enter "ftp.example.com" in the FTP Server property.
Enter the Control Panel ("cPanel") User Name that was assigned to you when you signed up for the Family History Hosting service.
Enter the Control Panel ("cPanel") Password that was assigned to you when you signed up for the Family History Hosting service. If you have changed the password, enter the current value.
The password is not displayed in GedSite, but the password is stored in "plain text" (human readable) in the GedSite file. If you do not want to enter the password, leave it blank. GedSite will prompt you for the password when it needs it.
If the current GedSite file defines the contents for a subfolder on your site, enter the name of that folder.
Do not enter "www" or "public_html" to indicate the main folder. The main folder is not a subfolder: leave the SubFolder property empty to update the main folder.
GedSite optimizes the upload process by:
- Uploading a compressed archive of files in several subfolders that GedSite knows contain mostly HTML files.
- Uploading only changed files in other subfolders.
To get the most out of these optimization steps, make sure that most if not all of the images used on the site are stored in subfolders. Store images used with the Image User Item in a subfolder of the Input folder.
When GedSite uploads a file that is in a non-HTML subfolder of the Output folder, it records the file date and file size in an "upload status" file. During all subsequent uploads, GedSite compares the file size and file date of the current version of the file to the last version that it uploaded. If either value has changed, or if GedSite has not uploaded the file before, it will upload the file. Otherwise, it skips the file because the current version is already on the server.
The upload status file is stored in the same folder as the GedSite file, and it has the same name except for the suffix "-files". If your GedSite file is "MySite.gsfile", the upload status file is "MySite-files.xml".
If you rename the GedSite file, or move it, you'll break the connection between the upload status file and the GedSite file, and GedSite won't know if the file has been uploaded before, or what version of the file was uploaded. That will trigger a re-upload of all the files.