Dynamically Alter Node Edit Tab Link
You can use a module call Sub Path Auto

here is a help video with an example that should work for you.

Module description :


  For example, if user/1 is aliased to users/admin, this module rewrites
  the link to the user contact page user/1/contact to use the aliased
  URL users/admin/contact instead. This also includes Views URLs taking
  a node as argument (e.g. node/%/yourview), in short, every URL that is
  based on, or extends, an existing alias. In combination with the
  Pathauto module it is possible to get rid of all remaining exposed
  internal non-administrative URLs.