Mastering the basics of SEO in React and Next.js

  Рет қаралды 48,513

Leigh Halliday

Leigh Halliday

4 жыл бұрын

SEO from a technical perspective is nothing more than adding a few meta tags, right? Sorta... in this video we'll take a basic Next.js application, and get it to a score of 100 in Lighthouse Audit.
Guide to SEO tags: moz.com/blog/the-ultimate-gui...
Next Head: nextjs.org/docs/api-reference...
Next Document: nextjs.org/docs/advanced-feat...

Пікірлер: 84
@FilipeDeschamps
@FilipeDeschamps 4 жыл бұрын
Leigh, you are awesome! I'm learning about Nextjs so much with you! And you explain things in a REALLY simple but powerful way 👍
@leighhalliday
@leighhalliday 4 жыл бұрын
Bless you Filipe! I appreciate it :)
@pedrobrasil892
@pedrobrasil892 3 жыл бұрын
Esse canal tem selo delicinha de qualidade 😉
@ursochurrasqueira
@ursochurrasqueira 3 жыл бұрын
salve telo
@abraaomoreira_
@abraaomoreira_ 3 жыл бұрын
Olha só quem está por aqui, acho que estou num bom lugar
@MolinRJ
@MolinRJ 2 жыл бұрын
cheguei aqui pra melhorar o SEO de um projeto, e tem esse comment aqui. Posso garantir que o vídeo vai ser delicinha
@samdimahmood9047
@samdimahmood9047 3 жыл бұрын
omg WOW I needed this for my work project and your video has the most description and on point explanation regarding it. I just keep loving your videos!
@leighhalliday
@leighhalliday 3 жыл бұрын
Thank you very much Samira :)
@cajogos
@cajogos 2 жыл бұрын
Simple, but effective! Great video!
@aliedfurdich
@aliedfurdich 4 жыл бұрын
Excellent content! You are a fantastic explainer, and one of my go-to instructors for any topics I'm trying to learn
@leighhalliday
@leighhalliday 4 жыл бұрын
Thanks Luke! I appreciate it :)
@jasonwiesner2768
@jasonwiesner2768 Жыл бұрын
Already so much value in first 3 minutes. Thank you!
@vasileturus
@vasileturus 4 жыл бұрын
Thanks man for the video! Can't wait for more!
@leighhalliday
@leighhalliday 4 жыл бұрын
New vids every week, stay tuned!!
@maskman4821
@maskman4821 3 жыл бұрын
This is a fantastic tutorial, making nextjs project both seo and accessibility 100% is really something, this is the best tutorial that explains / demo this topic, you are the man !!!
@leighhalliday
@leighhalliday 3 жыл бұрын
Thanks so much, Stephen!!
@denniswayne5776
@denniswayne5776 Жыл бұрын
This was awesome! Thanks!
@parsasaeednia7813
@parsasaeednia7813 3 жыл бұрын
THANKS A LOTTTT!! You helped me so much!
@nabilmouami6778
@nabilmouami6778 Жыл бұрын
Excellent content! You are a fantastic explainer.👍👍👍👍
@rangabharath4253
@rangabharath4253 3 жыл бұрын
awesome as always. Thank u so much
@leighhalliday
@leighhalliday 3 жыл бұрын
You're welcome, Ranga! Glad you're enjoying these videos :)
@priceless5386
@priceless5386 4 жыл бұрын
Enjoyed the video, I am not sure I would consider it “mastering”, but it was a very good beginner video.
@leighhalliday
@leighhalliday 4 жыл бұрын
You're right :D changed the title to be: Mastering the basics of SEO in React and Next.js. Not as catchy but more realistic! Thanks for watching!!
@MiguelFernando
@MiguelFernando 3 жыл бұрын
This is great, thank you!!
@leighhalliday
@leighhalliday 3 жыл бұрын
You're welcome, Miguel!
@TheNomanAhmed
@TheNomanAhmed 4 жыл бұрын
Great video. Can't wait for the Gatsby video.
@leighhalliday
@leighhalliday 4 жыл бұрын
Thank you The Noman!! Will be ready for next week I hope :)
@urbanleung1268
@urbanleung1268 2 жыл бұрын
such an amazing walk-through, as a rookie without any computer sense, I fully understand the logic behind, thanks a lot
@leighhalliday
@leighhalliday 2 жыл бұрын
Awesome! Glad you enjoyed it!
@urbanleung1268
@urbanleung1268 2 жыл бұрын
@@leighhalliday you're welcome. by any chance, please do more on SEO on nextjs and related themes. wish you the best of luck
@jiwachhetri4165
@jiwachhetri4165 Жыл бұрын
Great video
@rtorcato
@rtorcato 4 жыл бұрын
Next.js isn't for server side rendering only anymore. You can create static sites with it and hybrid sites too. Gatsby can also be used for server side, but i haven't tried it. For SEO you should always setup ES lint with jsx-A11y. It will help you catch accessibility errors while you code.
@leighhalliday
@leighhalliday 4 жыл бұрын
Thanks, Richard! In a sense I view static & SSR the same way, at least to the browser or crawler... the response from the server is still pre-rendered, it's more of a matter of when that rendering takes place. Is it rendered on compile/build (static), or is it rendering upon each request (SSR). Good tips with ES lint and jsx-a11y!
@gadgetgrader
@gadgetgrader 2 жыл бұрын
What about schema SEO?
@zygimantas3
@zygimantas3 4 жыл бұрын
nice work, keep on going and ull reach 100k subs for sure! u could do more mobx stuff with hooks, also storybook would be nice as well.
@leighhalliday
@leighhalliday 4 жыл бұрын
Hey Zygimantas! Thank you very much... one day I'll get there, just need to keep going :) I definitely need to do some storybook... I'll add it to my list!
@electrotsmishar
@electrotsmishar 3 жыл бұрын
thank you. very helpful
@leighhalliday
@leighhalliday 3 жыл бұрын
Happy to help, thanks for saying hi!
@zeroph33r23
@zeroph33r23 4 жыл бұрын
Sir, You're Awesome
@leighhalliday
@leighhalliday 4 жыл бұрын
Thank you Zero! You are great also!
@onthecodeagain
@onthecodeagain 3 жыл бұрын
Very cool intro this! :)
@nyciar
@nyciar 4 жыл бұрын
Thanks for the video. Very easy to understand. I have wondered lately if the developer should do the SEO or hire it out to an SEO specialist. What are your thoughts on hiring out SEO help if you're building an ecommerce site? Thanks.
@leighhalliday
@leighhalliday 4 жыл бұрын
Hey Nathaniel! What we do where I work is to use an external SEO specialist to let us know what to do, in terms of content strategies and keywords, content, etc... but the developers are in charge of implementing their suggestions. I think a web developer should at least know the technical basics of SEO, even if they aren't "SEO experts".
@adnanrruka5152
@adnanrruka5152 Жыл бұрын
Thank You
@georgiosgoniotakis89
@georgiosgoniotakis89 4 жыл бұрын
Hello Leigh. Thank you for the video. I was wondering what would be the best practice regarding using images in Next.js. Is there a specific way to handle different types or sizes of images?
@leighhalliday
@leighhalliday 4 жыл бұрын
Hey Georgios! That's a great question and honestly I'm not sure. In Gatsby you generate them all at build-time... but that's not the case here, right? If they are user generated data, I would consider something like ImgIX or Cloudinary.
@realcirno1750
@realcirno1750 Жыл бұрын
in the future we have the Image tag
@ridl27
@ridl27 2 жыл бұрын
ty!
@meonitelexdee3432
@meonitelexdee3432 4 жыл бұрын
you promised you will do a video on gatsby seo too ! ;) great video by the way
@leighhalliday
@leighhalliday 4 жыл бұрын
I'm still making videos, one day this video may appear :D It's on my spreadsheet of topics ;)
@motdde
@motdde 4 жыл бұрын
Fantastic content Leigh. What difference does it make to name your pages as .jsx? I have always used .js
@leighhalliday
@leighhalliday 4 жыл бұрын
No real difference... I think maybe some webpack configs look for one vs the other, but no difference inside of the file. I think most people just use .js now, wasn't that way a couple years ago.
@motdde
@motdde 4 жыл бұрын
@@leighhalliday Thanks. Your channel 👌🏾
@vincesanchez7790
@vincesanchez7790 3 жыл бұрын
Make more videos about SEO on Next.js with Tools and tips to maximize page SEO
@leighhalliday
@leighhalliday 3 жыл бұрын
Hey Vince! If I'm honest I don't think I have too many extra tips :D I'm not an SEO expert
@vincesanchez7790
@vincesanchez7790 3 жыл бұрын
@@leighhalliday This is enough already my website got 100 score on SEO after I watched your SEO on Next.js tutorial
@yasirnajeep
@yasirnajeep Жыл бұрын
Thanks
@agat1
@agat1 3 жыл бұрын
I need part 2 🤭
@leighhalliday
@leighhalliday 3 жыл бұрын
Me too :D Let me know what I'm missing and then I might be able to tackle it.
@mohdsajidshaikh4291
@mohdsajidshaikh4291 4 жыл бұрын
Please explain how to do seo of dynamic post coming from mysql in reactjs and next js
@leighhalliday
@leighhalliday 4 жыл бұрын
Hey Muhammed! It's my understanding google has 2 crawlers... one that focuses on server rendered, which happens frequently and sooner, and another one which clicks around in a headless chrome browser, for client-side apps... this happens less often, but to be honest I doubt this will be the case for long considering how many SPAs are out there. Two approaches you could take: - Do nothing... google will probably figure it out even if you load the data client-side after initial page load. - Focus on service side rendering and/or static pages (in a sense, also server-side rendered). For that you might want to watch this video which covers the new hooks in Next.js you use to perform SSR and/or build static pages: kzfaq.info/get/bejne/h6dyntKXnd_Lqn0.html
@mohdsajidshaikh4291
@mohdsajidshaikh4291 4 жыл бұрын
@@leighhalliday thanks for fast reply.
@vladyslavvovk
@vladyslavvovk 4 жыл бұрын
Thanks a lot, dude. Hello from Ukraine)
@leighhalliday
@leighhalliday 4 жыл бұрын
Hello right back at you from Canada!
@joshualepon5676
@joshualepon5676 3 жыл бұрын
This video is amazing! You sound and look like Owen Wilson btw. Lmao. Also I just have a question, will the crawlers be able to read the meta tags? Because as far as I know, crawlers usually do not execute javascript, which is, I believe, a downside of React Helmet. Will the tags be rendered server-side?
@leighhalliday
@leighhalliday 3 жыл бұрын
Haha... thanks! I wish I had as much money as Owen Wilson :D Off the top of my head I am not sure if the component does SSR... I would imagine it does though... that said, there are 2 types of crawlers that google deploys. One that just reads the HTML, and gets run more often and sooner. But they have another which actually renders pages and executes javascript. So I think either way you're better off than not doing any of this, but maybe you want to look into whether the Head component's meta tags are included in the HTML produced by SSR or not.
@joshualepon5676
@joshualepon5676 3 жыл бұрын
​@@leighhalliday Woah, thanks for the fast reply! I'll do just that!
@tuananhdo1870
@tuananhdo1870 2 жыл бұрын
FYI Audit tab is now Lighthouse
@leighhalliday
@leighhalliday 2 жыл бұрын
Thanks Tuan!!
@davidmiles2024
@davidmiles2024 Жыл бұрын
How do I add scheme mark-up to my next js project
@diegoragone2191
@diegoragone2191 2 жыл бұрын
how did you convert from http-equip to httqEquiv at 8:56 ??
@TyoBaskara
@TyoBaskara 3 жыл бұрын
Do we need sitemap ? And how to generate it ?
@leighhalliday
@leighhalliday 3 жыл бұрын
I haven't done this personally, but there's a lot of good discussion about it here using api routes along with Next.js/Vercel's URL rewriting capabilities: github.com/vercel/next.js/issues/9051
@christophercaldwell6641
@christophercaldwell6641 3 жыл бұрын
Is Audits a chrome extension? I don't have that tab in the dev tools
@christophercaldwell6641
@christophercaldwell6641 3 жыл бұрын
If anyone else is as dumb as I am, this functionality is now under the "Lighthouse" tab.
@leighhalliday
@leighhalliday 3 жыл бұрын
Ahh... didn't realize they renamed it to Lighthouse either! Thanks for sharing Christopher!
@gabrielfono844
@gabrielfono844 Жыл бұрын
Hi sir I have a serious problem now I have built an entire client software in ReactJs and spring boot Should I rebuild it in NextJs Is it any way to have a better SEO In ReactJs ? If not , is it anyway to migrate ReactJs to NextJs I am really concerned
@vishaltorgal3372
@vishaltorgal3372 2 жыл бұрын
Where to add SEO keywords in page
@leighhalliday
@leighhalliday 2 жыл бұрын
You'd add it in the head tag, using Head from Next.js or Helmet in plain React
@michaelpelagio9468
@michaelpelagio9468 3 жыл бұрын
how to have audit in chrome dev tools?
@leighhalliday
@leighhalliday 3 жыл бұрын
Hey Michael! I think it just comes with Chrome by default!
@aliofmecca
@aliofmecca Жыл бұрын
the Audits panel is now the Lighthouse panel.
Do you REALLY need SSR?
18:15
Theo - t3․gg
Рет қаралды 160 М.
Super gymnastics 😍🫣
00:15
Lexa_Merin
Рет қаралды 104 МЛН
Luck Decides My Future Again 🍀🍀🍀 #katebrush #shorts
00:19
Kate Brush
Рет қаралды 4 МЛН
Final muy inesperado 🥹
00:48
Juan De Dios Pantoja
Рет қаралды 18 МЛН
TRY NOT TO LAUGH 😂
00:56
Feinxy
Рет қаралды 20 МЛН
Introduction to MobX & React in 2020
16:51
Leigh Halliday
Рет қаралды 65 М.
WTF Do These Even Mean
13:44
Web Dev Simplified
Рет қаралды 75 М.
The Story of Next.js
12:13
uidotdev
Рет қаралды 549 М.
Why React Native is NOT garbage.
10:31
Ben Awad
Рет қаралды 511 М.
Improving SEO with (Dynamic) Sitemaps in Next.js
17:29
Leigh Halliday
Рет қаралды 37 М.
How NextJS REALLY Works
28:25
Theo - t3․gg
Рет қаралды 138 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 455 М.
Client-Side VS Server-Side Rendering - Data Fetching with Next.js
13:20
freeCodeCamp Talks
Рет қаралды 180 М.
How to NOT render something in React
19:41
Leigh Halliday
Рет қаралды 5 М.
Super gymnastics 😍🫣
00:15
Lexa_Merin
Рет қаралды 104 МЛН