32: How to Create a 404 Page in HTML | Create a Custom 404 Page | Learn HTML & CSS | HTML Tutorial

  Рет қаралды 95,553

Dani Krossing

Dani Krossing

Күн бұрын

Пікірлер: 122
@Dani_Krossing
@Dani_Krossing Жыл бұрын
NEW UPDATED 2023 COURSE AVAILABLE! 🙂 You can find it here: kzbin.info/www/bejne/rGnNdaF4jshjmNU&ab_channel=DaniKrossing
@frontendtesting
@frontendtesting 6 жыл бұрын
thanks for doing this video! a lot of devs forget about the 404 page b/c it's not a "usual" path, but it can make a big difference in user experience when done well.
@burimislami1349
@burimislami1349 5 жыл бұрын
Big respect. And please don't worry about the speaking/spelling mistakes! We are people, we all do mistakes. In this case, real people will value what you are teaching for free something that other people pay thousands of euros/dollars. Take this for all the videos. Tak! :D
@lukaphirtskhalava2449
@lukaphirtskhalava2449 5 жыл бұрын
the best!! I watched this video only once and I remembered everything. Thank you for this video!
@jeffslegacy
@jeffslegacy 4 жыл бұрын
Too simple, thank you. I have been trying to bring my site up to current SEO Standards and the 404 page is one of the factors and I had code that worked as far as functionality but the SEO audits didn't recognize it, therefore telling me I needed a 404 page. Thanks alot!
@campodasexatas5370
@campodasexatas5370 4 жыл бұрын
Your tutorials are amazing!!! You're helping me a lot!
@olgabiletski701
@olgabiletski701 3 жыл бұрын
very very thanks! its working and i searching 2 full years how to make a custom 404!!!
@WOXZE
@WOXZE 5 жыл бұрын
I would never imagine that it was this easy. Thanks a lot, brother.
@nikolasblues270
@nikolasblues270 6 жыл бұрын
Love these html / css new series Daniel! Greetings from Greece!
@gelis07
@gelis07 3 жыл бұрын
geia
@solomontsaagane9659
@solomontsaagane9659 2 жыл бұрын
Your English is perfect 👌🏾
@mojtabaarmstrong2372
@mojtabaarmstrong2372 5 жыл бұрын
Bro it really works 😍 Thank you man. Subscribe is the least thing i can do 👍 P.S : Your accent is great that i could not realize you are not an English speaker
@ramywahib7698
@ramywahib7698 4 жыл бұрын
then how did you realize?
@nissev2665
@nissev2665 4 жыл бұрын
@@ramywahib7698 2:36
@aliophelia949
@aliophelia949 6 жыл бұрын
Dani i wish you make a tutorial on Laravel. i will be very grateful.
@nziggypatlechat3892
@nziggypatlechat3892 7 ай бұрын
Straight and simple ❤
@InvierteenlaBolsadeValores
@InvierteenlaBolsadeValores 3 жыл бұрын
Your English is excelent
@fabichoon
@fabichoon 2 жыл бұрын
me ayudo mucho. gracias :D
@virsuryaircas
@virsuryaircas 5 жыл бұрын
bro not working in my local host is it there any setting needs to be configured
@OPGAMER.
@OPGAMER. 3 жыл бұрын
it works only on apache server not any other else do it when your website is hosted online.
@DevicePro007
@DevicePro007 11 ай бұрын
You are a hero!
@nielsencs
@nielsencs 6 жыл бұрын
Your English is waaay better than my Danish! :)
@john8998
@john8998 6 жыл бұрын
Yeah that's basically true. It took me a long time to notice that u were not an American...
@nielsencs
@nielsencs 6 жыл бұрын
My only Danish is 'Din fa elsker dig' (roughly dean far elska die) which means 'Your Father loves you'; also my father loves me; finally 'hello' and 'goodbye' ('hi' and 'hi hi'!) :)
@kubickipl__
@kubickipl__ Жыл бұрын
thank you for this, i really needed a guide like this :D
@SerenityWaves2.0
@SerenityWaves2.0 6 жыл бұрын
Amazing, I'm waiting for your htaccess tutorials
@viewvast
@viewvast 5 жыл бұрын
Your my programming hero!
@05renemar1
@05renemar1 6 жыл бұрын
Thank you for all of your tutorials man! It's sad that you don't get much views :(
@muhammadnawazseo3407
@muhammadnawazseo3407 3 жыл бұрын
very helpful thanku best wishes ahead
@48_subhambanerjee22
@48_subhambanerjee22 Жыл бұрын
Thanks buddy I needed it
@erikbmx478
@erikbmx478 6 жыл бұрын
Amazing! I am gonna test it out tomorrow.
@mathumathi9888
@mathumathi9888 3 жыл бұрын
Ya really very easy way thanks bro
@mytech2704
@mytech2704 4 жыл бұрын
Thanks, A Lot!!
@aizazkhan2583
@aizazkhan2583 4 жыл бұрын
Hello sir its really awesome videos of HTML and CSS i am near to complete it ..and sir i am watching your videos since 5 months ....so now i want to learn php procedural so plz tell me from where i get start...
@regalrayquaza7609
@regalrayquaza7609 4 жыл бұрын
Thank you for this tutorial! Your videos are very good and easy to follow
@gabrielfono844
@gabrielfono844 4 жыл бұрын
thanks very much I still remember last year when I first writing my first line of code I was watching your project regarding html and css. today I am bout to be interviewed. I really appreciate your lesson. thanks so much. do I need to take your php course. is it still relevant in 2020 ???
@parthpanchal3904
@parthpanchal3904 6 жыл бұрын
I'm the first one Daniel ✌️
@leoheoro
@leoheoro 6 жыл бұрын
Hi ! Your videos're very good. Can you make video tutorial use LESS without use CSS in create web ?! :))
@nickwest778
@nickwest778 6 жыл бұрын
thanks for the tutorial ^_^
@niku683
@niku683 6 жыл бұрын
That scary icon on the left side of the address bar, maybe later an idea to do a tutorial about SSL certificates.
@Dani_Krossing
@Dani_Krossing 6 жыл бұрын
Νιψκ That scary icon is there because I don't use my website for handling sensitive data and because I am not trying to boost my website SEO ranking :) but yes a SSL certificate tutorial would be an idea later in this course. At the moment a SSL lesson would only confuse newer web devs that are watching this course, and since they haven't learned how to create dynamic websites yet it wouldn't benefit them much. SSL is primarily used when handling sensitive user data.
@keuba1
@keuba1 4 жыл бұрын
Very usefull lesson. Thanks!!
@ddfgrtsd
@ddfgrtsd 4 жыл бұрын
Super awesome
@aizazkhan2583
@aizazkhan2583 4 жыл бұрын
Hello sir its really awesome videos of HTML and CSS i am near to complete it ..and sir i am watching your videos since 5 months ....so now i want to learn php procedural so plz tell me from where i get start. (21-07-2020)
@DrLifeGamer
@DrLifeGamer 5 жыл бұрын
help it says Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
@TheFlexXMLG
@TheFlexXMLG 5 жыл бұрын
same
@ziphhy
@ziphhy 5 жыл бұрын
Just figured out it. It's case sensitive I had error.html in the access file but the fike was Error.html
@alertnikole
@alertnikole 3 жыл бұрын
You rock - thank you.
@maivishnaaz3117
@maivishnaaz3117 2 жыл бұрын
Thankyou 🌈❤️
@BoxOfBananas
@BoxOfBananas 6 жыл бұрын
Amazingly helpful!! Also, what's that outro song?? sounds goooood.
@dteam3163
@dteam3163 5 жыл бұрын
THANK YOU!
@jos3008
@jos3008 5 жыл бұрын
btw your web page looks nice
@luixz5388
@luixz5388 3 жыл бұрын
Thanks
@ralligarants5684
@ralligarants5684 2 жыл бұрын
Nice video bro! 7:47 I was wondering if there is a tutorial about what you can do with a htaccess file yet?
@joepvandijk5850
@joepvandijk5850 6 жыл бұрын
Hey, thanks for your tutorial, but I've a question... is it also possible to use a PHP file as error page? When I try to do that he can't be found... thanks
@Dani_Krossing
@Dani_Krossing 6 жыл бұрын
Yes I have a video on it in my PHP playlist :)
@joepvandijk5850
@joepvandijk5850 6 жыл бұрын
Thank you!
@joepvandijk5850
@joepvandijk5850 6 жыл бұрын
Sorry... I'm stupid or something like that... I can't find the video...
@rodolfocoprodutor
@rodolfocoprodutor 2 жыл бұрын
TKS man
@sreenathreddy6634
@sreenathreddy6634 3 жыл бұрын
Where do i need to place the .htaccess file? for now i have placed in where the 404 page not found html file path. But its not working
@OstonCodeCypher
@OstonCodeCypher 6 жыл бұрын
Hello Mr.tuts....Am a bit off topic but I want some help on how to display content on a page using Ajax with out a click on a button. I see Browsers like Opera min use this by displaying news from other site .
@DebiMLT
@DebiMLT 6 жыл бұрын
hello mmtuts I'm trying to remove .html from the url can you do a video on how to remove pls
@Dani_Krossing
@Dani_Krossing 6 жыл бұрын
My next video will show how to do this :) I will try to have it out tomorrow.
@DebiMLT
@DebiMLT 6 жыл бұрын
thanks a lot you are awesome bro
@曰_曰
@曰_曰 Жыл бұрын
Do you need a web server to do it? I searched for how to get a web server and downloaded Apache but I can't open it because Windows blocked it. Is there any other way to create a 404 page without a web server?
@mayorca_institute
@mayorca_institute Жыл бұрын
The online server you are using is called what.... I want to use it to for testing of my app
@dolittlediehard1670
@dolittlediehard1670 7 ай бұрын
The person who ran the website before me has created a 404.hml page and it works but I can't find the .htaccess file you are referring to. Oh well 🤨. Thanks for the heads up though because i had no idea how it was working.
@Vapor6701
@Vapor6701 6 жыл бұрын
Hello! I was wondering if you could make a video teaching us how to hide the . extention!!! That would be really helpful for us working on having clean urls!
@Dani_Krossing
@Dani_Krossing 6 жыл бұрын
Good idea for a lesson #33 since I already went into the .htaccess file in this video :) I don't want to get too much into the .htaccess file too early in this course, but this is a pretty good and simple thing to create. So why not :)
@reivan_
@reivan_ 3 жыл бұрын
This is helpful! But will it work when I posted my site in netlify?? bc netlify has its own 404 page
@notch29
@notch29 6 жыл бұрын
it is essential to have a varchar '404' to show in a div (or span) in my html structure (question about good way to coding, SEO thinking etc...) ? or a img/icon with 404 is good also ?
@ahmedjoo1858
@ahmedjoo1858 4 жыл бұрын
Great and to the point tutorial as usual. I have a question, ErrorDocument 404 works fine as long as the "not found" page name is written directly after the www.mydomain.com/ however when i do the same after any existing page then nothing actually happens, simply the correct page still showing !!! for ex. if I try www.mydomain.com/existpage.php/jshdjfhlfas then still existpage.php is still showing .. any idea why ??
@KiliGraphics
@KiliGraphics 4 жыл бұрын
You should send a http Header with it. Google something thinks its a soft 404 or only a redirect.
@simsolchannel
@simsolchannel 2 жыл бұрын
Hello teacher. How are you? I want to ask about my Website Suspended . Since I did not enter the data for about 5 months, how to solve it? Thank you teacher
@LosChudos
@LosChudos 6 жыл бұрын
Love your videos, would you consider creating series on Firebase?
@Dani_Krossing
@Dani_Krossing 6 жыл бұрын
I have a lot of courses I want to start teaching on my channel including Firebase :) however at the moment I'm focusing on trying to complete other existing courses. Hopefully I'll get too it before too much time passes.
@LosChudos
@LosChudos 6 жыл бұрын
Yeah I can imagine there are too many topics to cover and not enough time, anyways good episode, would love to learn more about htaccess in the future as well :)
@ramidika3864
@ramidika3864 Жыл бұрын
guys i have a problem , when i did the 404 error page for my website a 500 error appeared . How can i fix it
@jos3008
@jos3008 5 жыл бұрын
can i use htaccess if i m using node js?
@tutorialswithshushanarora4569
@tutorialswithshushanarora4569 3 жыл бұрын
Does this work on notepad++ ?
@commissar9405
@commissar9405 5 жыл бұрын
hEY i know im still 11 month late but do you know how to create a 404 error page on a profile link for an open forum?
@leoheoro
@leoheoro 6 жыл бұрын
Good good good !!!
@TheLeontheking
@TheLeontheking 6 жыл бұрын
Doesn't work for me.. however, i am currently "hosting" my site using WAMP and localhost. Isn't it possible to do it that way? I mean it doesn't really matter, as the first moment when i will definetely need such page is when i upload my page.. but i am just wondering.
@Dani_Krossing
@Dani_Krossing 6 жыл бұрын
It has to be an online server ;)
@tanzeelrahman6857
@tanzeelrahman6857 3 жыл бұрын
This doesn't work on my server. My error is always :- Server Error 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. Do you have a solution for this? I have taken my domain from Rediff.
@wildporg
@wildporg 2 жыл бұрын
I get a similar issue, it just shows the same whether I have the html and htaccess or not
@besnik7271
@besnik7271 3 жыл бұрын
Daddy Musk been creepin
@Dani_Krossing
@Dani_Krossing 3 жыл бұрын
,,, creepin up on you!
@elgatodiego
@elgatodiego 4 жыл бұрын
Hi, great tutorial ... I have a question ... I already have a .htaccess file on my server ... do I have to put the line of code on this file?. THANKS
@ABOS-dt4xl
@ABOS-dt4xl 3 жыл бұрын
He said in another video of his to move the 404 page code on the bottom of all the code.
@elgatodiego
@elgatodiego 3 жыл бұрын
@@ABOS-dt4xl Thanks
@ty-cj8nu
@ty-cj8nu 4 жыл бұрын
Hi mmtuts, i hate your outro music 😅😅, because it makes myself to sleep. But i like you 😅😁
@Streetlight006
@Streetlight006 4 жыл бұрын
is the .htaccess file is an text document?
@thespicehoarder
@thespicehoarder 4 жыл бұрын
it's a linux thing. Linux doesn't do file extensions like windows. it is a plain text file, but it is not a .txt file
@maivishnaaz3117
@maivishnaaz3117 2 жыл бұрын
Your blah blah blah 😂😂😂 is amazing
@AbhishekKumar-we9qx
@AbhishekKumar-we9qx 4 жыл бұрын
Why his website got down?
@laskipikera3205
@laskipikera3205 Жыл бұрын
Bro, its not working on my end please help
@matresistance8608
@matresistance8608 6 жыл бұрын
Can anyone tell me how I make a border fit the length of a word? So it doesn't go all over the screen? Thanks!
@Dani_Krossing
@Dani_Krossing 6 жыл бұрын
Use: width: fit-content; On the container that has the word in it.
@toddgilbey3979
@toddgilbey3979 Жыл бұрын
Soo why does it not work for me then................?
@LanezYT
@LanezYT 5 жыл бұрын
mine didnt work.
@satr14-tech
@satr14-tech 3 жыл бұрын
i try this in replit but it dint work guess its because it only work on a server lol :P
@coolgamer6458
@coolgamer6458 6 жыл бұрын
can anybody please tell me which software is he using to write html????
@jimdart8219
@jimdart8219 6 жыл бұрын
Atom.io Sometimes he will use Sublime Text and he also uses Visual Studio Code.
@liamveary
@liamveary 4 жыл бұрын
777 likes!
@prakashjangir412
@prakashjangir412 5 жыл бұрын
Sir i created a 404 page in which i have relative path of all the css and js file. Now it is working fine when some page that not exist with www.example.com/something but its css and js is not working with "www.example.com/admin/something" due to relative path. Can you tell me how can i solve this problem without changing relative path
@tutorialswithshushanarora4569
@tutorialswithshushanarora4569 3 жыл бұрын
if so it is not working.
@technoph1le
@technoph1le Жыл бұрын
Starts here: 5:15 thanks me later
@Dani_Krossing
@Dani_Krossing Жыл бұрын
MY GOD "past me" sure knew how to drag things out... 😅 Yeah that one is on me, I took way too long to get to the point in this one.
@technoph1le
@technoph1le Жыл бұрын
@@Dani_Krossing actually, it was helpful. I mentioned where the main code starts
@dealcraftyt
@dealcraftyt 5 жыл бұрын
What is your main Language?
@Dani_Krossing
@Dani_Krossing 5 жыл бұрын
Danish
@BasStuurwold
@BasStuurwold 6 жыл бұрын
Danish Diplo
@yungifez
@yungifez 4 жыл бұрын
Wait what English is not your main language
@FriynMusic
@FriynMusic 3 жыл бұрын
ErrorDocument 404 /404.html
@CodeNest256
@CodeNest256 4 жыл бұрын
english is not my first language (am i the only one to not beleive it) loll :)
@Mika43344
@Mika43344 6 жыл бұрын
what about just index.php
@calibr0636
@calibr0636 5 жыл бұрын
I made one but it doesn't work because I didn't buy a server and domain cause I'm only 14.
@rivarelven4129
@rivarelven4129 5 жыл бұрын
try using www.netlify.com you can host your website using github and it is free
@danickdjb7555
@danickdjb7555 3 жыл бұрын
bla bla bla
EASY! Hand-code an HTML + CSS layout
11:24
LearnCode.academy
Рет қаралды 518 М.
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 67 МЛН
Car Bubble vs Lamborghini
00:33
Stokes Twins
Рет қаралды 45 МЛН
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 129 МЛН
ТЮРЕМЩИК В БОКСЕ! #shorts
00:58
HARD_MMA
Рет қаралды 2,4 МЛН
Learn HTML forms in 10+ minutes! 📝
17:55
Bro Code
Рет қаралды 114 М.
The UI/UX of 404 Page Design
9:11
DesignCourse
Рет қаралды 25 М.
How To Host Your Own Website For FREE - Home Server Tutorial
10:47
Emit.Reviews
Рет қаралды 297 М.
Technical SEO for Developers | 17 Tips to Rank Higher!
21:54
Please stop using px for font-size.
15:18
Coder Coder
Рет қаралды 238 М.
Make Awesome SVG Animations with CSS // 7 Useful Techniques
12:20
Learn CSS BOX MODEL - With Real World Examples
17:45
Slaying The Dragon
Рет қаралды 142 М.
Learn HTML Forms In 25 Minutes
24:56
Web Dev Simplified
Рет қаралды 986 М.
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 67 МЛН