check if url exists php. There are any references about check if url exists php in here. you can look below.