ISSUE: Friendly URLS not working and throws 404 error

RESOLUTION:
FQDN was missing www. In System > Sites open the site,

Go down and make sure both www.websitename.com and websitename.com are added ( if not atleast www has to be added)

User-added image