I have installed my Joomla website in localhost, server address is settle as "localhost", the site is working fine, I can browse through everything, the problem is that part of the layout is broken, also, there are images which are not loading. I searched for a solution everywhere, which I could not find, since this is a complex thing, here, let me explain it:
I have the following path settle /go/images/cupcakes.jpg in one of my articles, to display a cupcake image. When the website was up, it was working just fine. In localhost it isn't, why? Because I'm the site is installed in a folder, so whether there's an image relative path configured in a page or in the template, the site will refer to the root of localhost, not to the folder where the site is installed. So basically I should have installed the website in the root of htdocs folder in XAMPP, but I can't do that. How can I fix that, just so the entire Joomla framework knows that the folder where it's installed is the root folder and only point the relative paths to there? I would be able to fix that in a cPanel Linux server, but I'm totally lost in Xampp.