Due to the nature and configuration of some hosting providers, you might see that your `current` symlink is not being generated properly on your server after your zero-downtime deployments complete. For example, you might see the following when performing an `ls -l` command in your server:

```
current -> /home/user/./releases/XXXXXXXXXX
```

If you experience this issue, you can fix it by adding the following [SSH command](https://www.deployhq.com/support/ssh-commands) to your DeployHQ project which should run **after your files have been uploaded**. _Make sure to run the command after each deployment._

```
cd [DEPLOYMENT_PATH]

ln -snf "$(ls -d ./releases/*/ | sort -rn | head -n 1)" current
```

This command will create the correct `current` symlink for your zero-downtime deployments, bypassing the aforementioned hosting provider caveat.