How to create a symbolic link in cPanel

Symlinks, short for symbolic links, are basically shortcuts to individual files or folders. One of the advantages of a symlink is that it can cross filesystems, as it references abstract filenames/directories and not physical locations.

There is a number of ways to create a symlink in cPanel:

1. Via SSH

 ln -s /path/to/target /path/to/shortcut 

2. Cron

Using the same command NOTE: Make sure that you delete the cronjob once the symlink has been created.

3. PHP function

<?php
$target = '/home/cPanelusername/public_html/index.html'; 
$shortcut = 'script.html'; 
symlink($target, $shortcut); 

https://www.namecheap.com/support/knowledgebase/article.aspx/9561/29/how-to-create-a-symbolic-link-in-cpanel