# Wp-cli alias on deleted user

**URL:** <https://forum.hestiacp.com/t/wp-cli-alias-on-deleted-user/22142>\
**Category:** Uncategorized\
**Created:** [August 19, 2026, 10:15am UTC](https://forum.hestiacp.com/t/wp-cli-alias-on-deleted-user/22142 "2026-08-19T10:15:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kre10](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/k/8797f3/32.png) [@kre10](https://forum.hestiacp.com/u/kre10)\
**Post date:** [August 19, 2026, 10:15am UTC](https://forum.hestiacp.com/t/wp-cli-alias-on-deleted-user/22142/1 "2026-08-19T10:15:08Z")

</div>

Hey guys,

Can you help me to remove this wp-cli alias for delete user?

alias wp

`alias wp='php /home/evizitkabg/.wp-cli/wp'`

When I execute “wp” in my domain - web/domain.bg/public\_html I got this error:

`Could not open input file: /home/evizitkabg/.wp-cli/wp`

I never installed wp cli on this path /home/evizitkabg/

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [August 19, 2026, 11:37am UTC](https://forum.hestiacp.com/t/wp-cli-alias-on-deleted-user/22142/2 "2026-08-19T11:37:14Z")

</div>

Hi,

Edit `/home/YourUser/.bash_aliases` and remove or comment out this line:

```t
alias wp=/home/YourUser/.wp-cli/wp

```

To apply the change you must logout and login again.

---

<div class="post-metadata">

**Author:** ![kre10](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/k/8797f3/32.png) [@kre10](https://forum.hestiacp.com/u/kre10)\
**Post date:** [August 19, 2026, 12:13pm UTC](https://forum.hestiacp.com/t/wp-cli-alias-on-deleted-user/22142/3 "2026-08-19T12:13:01Z")

</div>

Thanks, it’s working now! Take care!

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [September 18, 2026, 12:13pm UTC](https://forum.hestiacp.com/t/wp-cli-alias-on-deleted-user/22142/4 "2026-09-18T12:13:29Z")

</div>

Closed on September 18, 2026, 12:13pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
