CSS Path\Different Layer

Hello members, I need help with the following situation.

CakePHP Version: 4

I’m not sure if I’m doing it right. I’m using the layout/default.php to set my header and footer and the home to be my index page. So far so good. https://www.mysite.com
The issue starts when I go to the register user page https://www.mysite.com/users/register
My logo and other images don’t appear anymore. This is happening because of my CSS path.

Can anyone help me with this issue?

I I solved the problem using HtmlHelper.

<?php echo $this->Html->image('cake_logo.png', ['alt' => 'CakePHP']); ?>