Pretty URLs in YII2

[size="3"]What is difference between two below Line?[/size]

[size="3"]1)http://localhost:8888/hello/web/index.php?r=site%2Fabout[/size]

[size="3"]2)http://localhost:8888/hello/web/site/about[/size]

[size="3"]Which link is better,why?[/size]

Nothing special. The second one is just easier to be read by human.