Never Defrag a SSD
Defragging just rearranges the position of files on your hard drive to speed up file access, it will have absolutely no effect on you ability to connect to web sites.
if you hard wire and still have wireless enabled it will still use the wireless even if cable is connected. d connect cable and disable wireless and retry.
Try resetting the router by powering off the router or using the reset button on the router.