Search code examples
wordpressphpmyadminxampplocalhostfilepath

Wordpress on localhost, wrong path to images


after a great deal of time, I managed to set up my wordpress on localhost running xampp. The thing is now that I don't see any pictures or posts on my local copy. Via dev tools, I realised the path to the content looked like this:

wordpress.localhost/wordpress.localhost/wp-content/...

If it wasn't for the doubled "wordpress.localhost", I'd be able to see it. What might cause this? Is this due to an error in the database? How do I fix it?

Thank you!

Best wishes


Solution

  • Make sure you have properly set your site name under the settings > General > Site Address : http://wordpress.localhost