Fix relative path issue when visited on domain.