In my non-Kirby website, if a reader clicks on the link generated by the following code
<a href=" /climate/the-route/triverroute.kml">Right click on this link to save a Google Earth kml file of the route.</a>
results in Google Earth opening the file if the site visitor has it installed, or offers to download the file if they do not have Google Earth installed. And if they right click, they also have the opportunity to download the file.
But in Kirby if they simply left-click on the link it throws an error message: " Not Found The requested URL was not found on this server." This is hardly an ideal outcome.
And I cannot use the panel to load the kml file because “the media type “text/html” is not allowed uploading a kml file” I have to manually copy the file into the correct page folder.
Is there anyway around these two issues? I have dozens of these files I wish to link to.