Move site root directory on debian

I would suggest following some other toturial instead of one that lacks any explanations as to the “why” like this one. Linode and digitalocean should have good toturial on how to install wordpress, and although they might not be debian specific, the once regarding ubuntu should probably be compatible with debian.

To answer the question, you need to remove the /wp part of the alias and get something like

Alias /wp-content /var/lib/wordpress/wp-content
Alias / /usr/share/wordpress

And again, I would not setup wordpress like that in two different directories without a reason.

tech