Suppose I have a food blog (say
www.myfoodblog.example) with several recipes (mango-icecream, banana-icecream, and berry-icecream). So what I understood for SEO is to have these keywords of recipes in URL. I can have that in two ways:
www.myfoodblog.example/mango-icecream(so I direct user to a new webpage)
www.myfoodblog.example#mango-icecream(so I direct user to same webpage but to relevant part).
Which of the two methods is more optimal for SEO?