{"id":1380,"date":"2019-02-08T10:36:06","date_gmt":"2019-02-08T10:36:06","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2019\/02\/08\/1583694-how-to-create-a-symlink-at-hostinger\/"},"modified":"2025-08-27T07:13:31","modified_gmt":"2025-08-27T07:13:31","slug":"1583694-how-to-create-a-symlink-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/1583694-how-to-create-a-symlink-at-hostinger\/","title":{"rendered":"How to Create a Symlink at Hostinger?"},"content":{"rendered":"<p class=\"no-margin\">A symlink or symbolic link works as a shortcut to an existing directory or file on your File Manager. They can be useful for easier access to files in different locations inside your plan.<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #fed9db80;border-color: #fd3a5733\">\n<p class=\"no-margin\">Symlink functionality is disabled by default on Web and Cloud hosting plans; to enable it, you must activate the disabled function by following the guide provided here: <a href=\"\/support\/3212034-how-to-enable-disabled-php-functions\" target=\"_blank\" class=\"intercom-content-link\">How to enable disabled PHP functions<\/a>.<\/p>\n<\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">If you wish to create a symlink, follow these steps:<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">1. Access your plan via <b><a href=\"https:\/\/support.hostinger.com\/hpanel\/how-can-i-log-in-to-my-account-via-ssh\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">SSH connection<\/a>. <\/b>You can use PuTTY, PenguiNet or any other SSH terminal<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">2. <b> <\/b>Type in the command: <b><code>ln -s original_file.php symlink_file.php<\/code><\/b><\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Make sure to replace <b>original_file.php<\/b> with the full path of the file you want to create the shortcut for, and <b>symlink_file.php<\/b> with the name of the symlink file:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2019\/02\/5bfde751-6d8c-4f82-a6d1-2b796a1f35c2.jpg\"><\/div><p class=\"no-margin\">Once created, you can verify it on the terminal using the <code>ls<\/code> command.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">3. That&rsquo;s it! Your symlink is ready to use as a shortcut in your <b><a href=\"\/support\/4548688-basic-actions-in-file-manager\" target=\"_blank\" class=\"intercom-content-link\">File Manager<\/a><\/b>, on the location you created it:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2019\/02\/81cfa8ee-c783-40a2-986c-f917b9011e87.jpg\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Double-clicking on it will lead you to the destination path &#128522; <\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\"><b>NOTE<\/b><\/p><ul>\n<li>\n<p class=\"no-margin\">You can find all you need to know about symlinks in this tutorial: <b><a href=\"https:\/\/www.hostinger.com\/tutorials\/how-to-create-symbolic-links-in-linux\/\" target=\"_blank\" class=\"intercom-content-link\">How to Create Linux Symlinks<\/a><\/b><\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">Agency plans do not support symlinks<\/p>\n<\/li>\n<li>\n<p class=\"no-margin\">For VPS users, you can follow the same steps to create symlinks, with VPS plans having symlink functionality enabled by default<\/p>\n<\/li>\n<\/ul><p class=\"no-margin\">\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Creating symbolic links via SSH<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[218],"tags":[],"class_list":["post-1380","post","type-post","status-publish","format-standard","hentry","category-supported-technologies-and-functions"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583694-how-to-create-a-symlink-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1583694-esta-activada-la-funcion-symlink-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583694-la-fonction-symlink-est-elle-activee-chez-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1583694-cara-membuat-dan-mengaktifkan-fungsi-symlink-di-hostinger\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/1583694-a-funcao-symlink-esta-ativada-no-hostinger\/","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1583694-----\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1380"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1380\/revisions"}],"predecessor-version":[{"id":5090,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1380\/revisions\/5090"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}