wordpress next.js slug
Unanswered
Toyger posted this in #help-forum
Original message was deleted.
13 Replies
Toyger
btw I just want my website to display the page
like I look in the network log and it's loading some json file, I don't want that
Toyger
bump
Toyger
idk, I think the question is clear
I got a wordpress post slug but the template is using /posts/
Toyger
it basically have posts folder that you can rename to whatever you want
you should learn at least basics of nextjs https://nextjs.org/learn
you should learn at least basics of nextjs https://nextjs.org/learn
@Toyger it basically have posts folder that you can rename to whatever you want
you should learn at least basics of nextjs https://nextjs.org/learn
Toyger
lol I completely forgot about this thread, sorry
anyway that's not what I'm asking lol
the slug I'm using has the year, month, and day of the post and that's it
Toyger
ok lemme reword this: how can I use dynamic routes but only match years
@Toyger ok lemme reword this: how can I use dynamic routes but only match years
Toyger
can you give example of url that you want
Toyger
/2024/03/10/example-slug-something
but someone else just pointed out that I could combine multiple dynamic routes