Support » Fixing WordPress » Broken css and js file paths

  • Resolved asiareekie

    (@asiareekie)


    I have migrated and uploaded all my wp files from local hosting, but the CSS and JS files are not loading on my site and render this error “404 (Not Found)”, I am also unable to access my admin.

    I have cleared Cache and cookies, disabled plugins, and tried disabling my custom theme, I think the issue could be to do with my theme files as they are custom?

    This is the page http://olivereekie.com/ -> only loading html
    Really looking forward to any help!

    Thank you

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey @asiareekie, seems like the CSS/JS files are not linked correctly, from looking at the output.
    Take a look at this:
    href='http:olivereekie.com/wp-content/themes/olive-reekie-theme/style.css?ver=5.5'...

    It’s missing the // on https:// for starters.

    Maybe you used a find&replace plugin and messed that up?

    • This reply was modified 2 years, 8 months ago by Ignacio.
    Thread Starter asiareekie

    (@asiareekie)

    Hey @iignacio

    Thank you so much, you were right! I messed up when I migrated the db, can’t believe I have been spending so much time trying to figure this out and this was all it was!

    Thanks again

    Ha, happens all the time! Glad I could help.
    Happy launch!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Broken css and js file paths’ is closed to new replies.