Next.js Discord

Discord Forum

best SEO techniques in NEXT

Unanswered
American Crocodile posted this in #help-forum
Open in Discord
Original message was deleted.

21 Replies

Original message was deleted
you should start with the basics like "title" and "description" and then go to sitemaps, robots, ... I like to use this metadata template to build my seo and normally I get 100% SEO with lighthouse test
@joulev no post index? 🤔
post index?
ah ok 👍
nothing wrong, this question is still indexed and can still mark sol
@joulev nothing wrong, this question is still indexed and can still mark sol
akshually, doesnt seem like it. well... the bot glitched maybe a bit too soon, before the indexing is done
no unfortunately
American Crocodile
@B33fb0n3 okay thank you, what about the blog, should I decouple it from the main app and just host the blog somewhere else? If not, what is the approach that I'd take to make it? Ssr? Ssg? I heard ssg is better for SEO but idk hahaha I'm just overwhelmed a little.
@B33fb0n3 yea, you should pre generate your page, to make it indexable for search engines 🙂
American Crocodile
Do you recommend decoupling the blog from the main web app then? I am using the app router which to my knowledge doesn't pre generate pages like the pages router. Or do you just recommend using the pages router?
I recommend you to use the app router for DX (in my opinion). Right now I don't see the sense of decoupling. Maybe I miss something there. Components inside the app router are by default server components. So you should be good to go when you use them
@B33fb0n3 I recommend you to use the app router for DX (in my opinion). Right now I don't see the sense of decoupling. Maybe I miss something there. Components inside the app router are by default server components. So you should be good to go when you use them
American Crocodile
I really appreciate all the help man. Thank you!

Is there any resource I could look at that explored building SEO oriented blogs or web apps with nextjs that you can recommend?
I can't recommend you any blogs or web apps. A small and simple overview is here: https://nextjs.org/docs/app/building-your-application/deploying/production-checklist#metadata-and-seo
happy to help. Please mark solution
@B33fb0n3 happy to help. Please mark solution
American Crocodile
How do I do that hahaha
Got it.