domain names and relative URLs
Posted by sarneil on 10 May 2010 in Activity log
MF wrote asking why when someone goes to canadianmysteries.ca/en/index.htm and clicks on the French button, they go to canadianmysteries.ca/fr/index.htm and not to mysterescanadien/fr/index.htm. The two domain names point to the same place. All the French and English buttons use relative URLs, so of course the domain name does not change when the browser follows the relative URL. There are 54 pages in the GUMICH site, hundreds of pages in the Cybermysteries site and thousands of pages in the mysteries sites, each of which would have to have the link edited. If all of them are to be done, it might be faster and cheaper to write some code to generate the appropriate absolute URL. If we do only a few (e.g. in the GUMICH site, the home page of each of the Mysteries sites and a couple of pages in the mysteryquests), then it would be cheaper to make the edits manually. Left the options for MF to consider.