make sure relative_permalinks is set to TRUE