Disable remove function for index and 404 pages