WAMPserver - Set root to localhost/mysite (broken images)

37 Views Asked by At

Does anyone know the easiest way to do this? My current setup is creating a situation where images don't work depending on whereabouts in the site I am.

For example: ./wp-content/images/image.png will work on the homepage, but break once on products pages etc.

When I try using just /wp-content/images/image.png it still ends up broken as the URL comes back as http://localhost/wp-content... rather than http://localhost/mysite/wp-content

Hope that makes sense. This would save a lot of hassle across multiple sites for me.

Thanks in advance.

0

There are 0 best solutions below