Server: PageSpeed module installed - GTMetrix

If you have PageSpeed module installed on your server, and your GTMetrix pagetest shows you an error about "Serve resources from a consistent URL" because of some duplicated content, then here's what you should do.