Resolved problem with relative links in menu. Replaced hardoced path to media. Set media path to /media