Bentongfu :
Or will I be able to do something like this: Modem>Router>PC since my router has like 4 more ethernet ports at the back. I was thinking I could maybe connect an ethernet cable from those extra ports then connect it to my desktop afterwards. Will that work?
The other way has no sense, router is a kind of WAN-LAN splitter.
I guess since you are asking about Wifi you have that router already, so simply connect one of the lan ports at the router with the PC and you are done. It will be cheaper and will be working faster for sure.
Only reason i would consider connecting PC over Wifi is impossible cable management and/or portability...