-bash: alias: /path/to/folder: not found
You are mixing bash alias, macOS alias and (soft-)link.

The bash alias requires some executable to be called but a path to a folder is no executable.

So use alias myfolder='cd ~/path/to/folder' in your .bash_profile to change to the desired directory. ~/path/to/folder has to be a valid path of course - or it won't work.