Added code to detect the hardcoded urls for the pages .