Is there a way you can change the absolute path in the .htaccess?
For example when I am working on my local server my url is something like this:
localhost:8888/websites/sitename/
When I use an absolute path like: /assets/css/style.css, it will look for it at:
localhost:8888/assets/css/style.css
but I need it to look in:
localhost:8888/websites/sitename/assets/css/style.css
It’s done by setting up a vhost on your local machine, not via the .htaccess.