how to make an alias for .html?

I have a folder with an .html file linked to that specific folder path. If I create an Alias for this .html file it doesn't work anymore. Even with the Alias in the same folder, the referred Safari page is not opened. Safari does open and creates an empty page. Thereafter it reverts back to the folder holding the Alias. The Safari page remains open and empty on the background.


What can I do to make a proper Alias to this .html file?

MacBook Pro (15-inch Early 2011), macOS Sierra (10.12.5), null

Posted on Jul 13, 2017 10:46 PM

Reply
2 replies

Jul 14, 2017 12:16 AM in response to Sandstorm1975

My take on this is that it's a bug, but I admit I'm having a hard time quantifying it.


The first thing that tells me it's a bug is that the result is inconsistent between double-clicking the alias and dragging it to Safari in the dock.


If you double click the alias, you get the blank window. This, I believe, is because Safari is trying to read the alias file directly, rather than following the alias to the original file.

However, if you drag the alias' icon to Safari, Safari opens the target file as expected.


That's why I think it's a bug - one could expect the same result either way.


However, the problem is not limited to Safari. The exact same thing happens with Chrome and Firefox, which means it's not, specifically, Safari's fault.


My guess is that the problem lies in the browsers' handling of file types. There may be something buried in Apple's developer notes on the subject, but I'd have to go digging. In the short term, the only solution I can see is to drag your alias to your browser of choice rather than double-clicking it, and filing a bug report to get the official word.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

how to make an alias for .html?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.