Backend not working after changing the docroot to /pub
I have recently changed the docroot of Magento to /pub. I followed the official guide and then when I see the images are all broken and the admin URL is not working. It shows page not found in the frontend. Any help would be appreciated. Thanks in advance.