Answer the question
In order to leave comments, you need to log in
Why does Google throw an error in the console if everything is fine and everything is connected?
bi-bpg.com - site.
I can't figure out why the Google console gives an error that it can't find js and css
files bi-bpg.com/css/style.css net::ERR_ABORTED 404 (Not Found)
bi-bpg.com/libs/SlickSlider/slick. css net::ERR_ABORTED 404 (Not Found)
But they work and are referenced differently.
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<link rel="stylesheet" href="<?php echo get_bloginfo('template_url')?>/style.css" />
<script src="<?php echo get_bloginfo('template_url')?>/js/script.js"></script>
<script src="<?php echo get_bloginfo('template_url')?>/libs/OwlCarousel/owl.carousel.min.js"></script>
<script src="<?php echo get_bloginfo('template_url')?>/libs/OwlCarousel/owl.carousel.js"></script>
<script src="<?php echo get_bloginfo('template_url')?>/libs/SlickSlider/slick.min.js"></script>
<link rel="profile" href="https://gmpg.org/xfn/11">
Answer the question
In order to leave comments, you need to log in
You have a mess there in general in HTML, look carefully: two head sections, html closes to the footer, body closes twice.
Files not found in second head
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question