Github pages, bootstrap css remotely: Failed to load resource: the server responded with a status of 404 (Not Found)

Colet

I have my customized bootstrap website which I push on github pages. Locally it works very fine, no problem at all, but when is online the style is messy and these messages appear on the console:

Failed to load resource: the server responded with a status of 404 (Not Found)   https://nickname.github.io/repo/vendor/font-awesome/css/font-awesome.min.css Failed to load resource: the server responded with a status of 404 (Not Found)

in my code, css is declared as follow:

<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

why locally works and not remotely?

hackjutsu

It looks like you are using Jekyll for your GitHub page. As for the Jekyll 3.3 from Nov 2016, the vender folder is ignored.

Jekyll now ignores the vendor and node_modules directories by default.

You can either rename the vender folder to some name like libs and refer to the new path, or follow Jekyll's suggestion

If you need those directories included in your site, set exclude: [] in your site's configuration file.

Hope it helps:)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Failed to load resource: the server responded with a status of 404 (Not Found) css

From Dev

Failed to load resource: the server responded with a status of 404 (Not Found). with ajax in caph

From Dev

Failed to load COMPASS resource: the server responded with a status of 404 (Not Found)

From Javascript

Failed to load resource: the server responded with a status of 404 (Not Found)

From Dev

Angular 2 - Failed to load resource: the server responded with a status of 404 (Not Found)

From Dev

Apache Cordova: Failed to load resource: the server responded with a status of 404 (Not Found)

From Dev

Failed to load resource: the server responded with a status of 404 (Not Found)

From Dev

Failed to load the resource: the server ... responded with a status of 404 (Not Found)

From Dev

LARAVEL Failed to load resource: the server responded with a status of 404 (Not Found)

From Dev

Failed to load resource: the server responded with a status 404(not found)

From Dev

PhoneGap "Failed to load resource: the server responded with a status of 404 (Not Found)"

From Dev

Failed to load resource: the server responded with a status of 404 (Not Found)

From Dev

Failed to load resource: the server responded with a status of 404 (Not Found) on routing

From Dev

Failed to load resource: the server responded with a status of 404 (Not Found) in custom domain

From Dev

Django - Failed to load resource: the server responded with a status of 404 (Not Found)

From Dev

Failed to load resource: the server responded with a status of 404 (Not Found) https://websitename.herokuapp.com/js/bootstrap.js

From Dev

Deploying React in Github page - Failed to load resource: the server responded with a status of 404

From Dev

getting error message "Failed to load resource: the server responded with a status of 404 (Not Found)"

From Dev

during wct test: Failed to load resource: the server responded with a status of 404 (Not Found)

From Dev

Django and ReactJS integration: "Failed to load resource: the server responded with a status of 404 (Not Found)" error

From Dev

Failed to load resource: the server responded with a status of 404 (Not Found) issue in Nodejs app

From Dev

Failed to load resource: the server responded with a status of 404 (Not Found) in React.js Project deployed

From Dev

Failed to load resource: the server responded with a status of 404 (Not Found) angular js + ionic

From Javascript

add js to shiny raise error: Failed to load resource: the server responded with a status of 404 (Not Found)

From Dev

Angular2 Failed to load resource: the server responded with a status of 404 (Not Found)

From Dev

Failed to load resource: the server responded with a status of 429 (Too Many Requests) and 404 (Not Found) with ChromeDriver Chrome through Selenium

From Dev

Failed to load resource: the server responded with a status of 404 (Not Found) on contact form using Js, ajax, php

From Dev

Failed to load resource: the server responded with a status of 404 (Not Found) when trying to fetch data from json

From Dev

Failed to load resource: the server responded with a status of 404 (Not Found)-lab-logo.png

Related Related

  1. 1

    Failed to load resource: the server responded with a status of 404 (Not Found) css

  2. 2

    Failed to load resource: the server responded with a status of 404 (Not Found). with ajax in caph

  3. 3

    Failed to load COMPASS resource: the server responded with a status of 404 (Not Found)

  4. 4

    Failed to load resource: the server responded with a status of 404 (Not Found)

  5. 5

    Angular 2 - Failed to load resource: the server responded with a status of 404 (Not Found)

  6. 6

    Apache Cordova: Failed to load resource: the server responded with a status of 404 (Not Found)

  7. 7

    Failed to load resource: the server responded with a status of 404 (Not Found)

  8. 8

    Failed to load the resource: the server ... responded with a status of 404 (Not Found)

  9. 9

    LARAVEL Failed to load resource: the server responded with a status of 404 (Not Found)

  10. 10

    Failed to load resource: the server responded with a status 404(not found)

  11. 11

    PhoneGap "Failed to load resource: the server responded with a status of 404 (Not Found)"

  12. 12

    Failed to load resource: the server responded with a status of 404 (Not Found)

  13. 13

    Failed to load resource: the server responded with a status of 404 (Not Found) on routing

  14. 14

    Failed to load resource: the server responded with a status of 404 (Not Found) in custom domain

  15. 15

    Django - Failed to load resource: the server responded with a status of 404 (Not Found)

  16. 16

    Failed to load resource: the server responded with a status of 404 (Not Found) https://websitename.herokuapp.com/js/bootstrap.js

  17. 17

    Deploying React in Github page - Failed to load resource: the server responded with a status of 404

  18. 18

    getting error message "Failed to load resource: the server responded with a status of 404 (Not Found)"

  19. 19

    during wct test: Failed to load resource: the server responded with a status of 404 (Not Found)

  20. 20

    Django and ReactJS integration: "Failed to load resource: the server responded with a status of 404 (Not Found)" error

  21. 21

    Failed to load resource: the server responded with a status of 404 (Not Found) issue in Nodejs app

  22. 22

    Failed to load resource: the server responded with a status of 404 (Not Found) in React.js Project deployed

  23. 23

    Failed to load resource: the server responded with a status of 404 (Not Found) angular js + ionic

  24. 24

    add js to shiny raise error: Failed to load resource: the server responded with a status of 404 (Not Found)

  25. 25

    Angular2 Failed to load resource: the server responded with a status of 404 (Not Found)

  26. 26

    Failed to load resource: the server responded with a status of 429 (Too Many Requests) and 404 (Not Found) with ChromeDriver Chrome through Selenium

  27. 27

    Failed to load resource: the server responded with a status of 404 (Not Found) on contact form using Js, ajax, php

  28. 28

    Failed to load resource: the server responded with a status of 404 (Not Found) when trying to fetch data from json

  29. 29

    Failed to load resource: the server responded with a status of 404 (Not Found)-lab-logo.png

HotTag

Archive