I’m using windows 7 (64 bit).
If I place a site (index.php, other docs and other sub folders [css, js, imgs etc]
directly inside the htdocs folder (amongst the XAMPP folders)
and view the site through localhost there is no problem.
If instead the site is placed in a subfolder of htdocs, C:xampp/htdocs/mysite,
and I try to view index.php all links (relative) to subfolders (eg images, css and js etc) stop working.
I obviously would prefer to use xampp for more than one site, so i want to have a sub folder in htdocs for each site.
Believe me I’ve been googling and I’ve looked at some ‘solutions’ (for example changing the httpd.conf for example, would mean changing it each time i want to view a different site….) but nothing has helped. What things should I be checking out?
Edits
LINKS FORMATTING
href="/css/homeAreaStyle111.css"
data="/svg/linkedbutton.svg"
Are you preceeding your links with a slash? Ie
If so those links will be pointing to the site root. Try replacing with ex
or