WordPress.org

Ready to get started?Download WordPress

Forums

Wierd styling problem when installing on localhost using xampp (6 posts)

  1. TorranceD
    Member
    Posted 1 year ago #

    Everything works fine until I open up the install page. All of the HTML elements are there, but none of the styling loads. I can even finish the install, but then the blog is just HTML. No css loads at all.

    I'm installing wordpress in htdocs/blog.

    Image: HERE

  2. Brandon Kraft
    Happiness Engineer
    Posted 1 year ago #

    Hmm. When you view the source for those pages, what URL is given for the CSS in the <head> area?

  3. TorranceD
    Member
    Posted 1 year ago #

  4. Brandon Kraft
    Happiness Engineer
    Posted 1 year ago #

    Could it be because of the HTTPS? Your browser may be not loading the CSS since the SSL cert couldn't be verified.

    Try setting the site and blog URL to http://localhost/blog (instructionshttp://codex.wordpress.org/Editing_wp-config.php#WordPress_address_.28URL.29

  5. TorranceD
    Member
    Posted 1 year ago #

    I defined the site and blog url in the wp-config.php file. The install page now has styling. Everything else is still broken though.

  6. TorranceD
    Member
    Posted 1 year ago #

    I fixed the problem by completely removing and reinstalling xampp.

Topic Closed

This topic has been closed to new replies.

About this Topic