All my files are in the public_html folder. I rewrote the URL of the pages using .htaccess, for example, the URL mywebsite.com/balance.php looks like mywebsite.com/myaccount/balance .
I can include the file with: <?php include 'header_login.php'; ?>, <?php include 'header_login.php'; ?>, but it appears without a stylesheet.
Both .php and .css files are in the public_html folder.
If I rewrite the URL on mywebsite.com/balance , it works.
How can I make this work with this βvirtualβ folder in the URL?
source share