Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   PHP / mySQL (http://siteownersforums.com/forumdisplay.php?f=10)
-   -   Link Error Checking (http://siteownersforums.com/showthread.php?t=51012)

wryfhk22 09-13-2011 01:42 AM

Link Error Checking
 
Is there a way to check to see if a link comes up with an error and if so then load an alternate link?

For example, say I have a link to a file on another server, if that link is down, can it then load the alternate link?

project 09-15-2014 10:04 AM

project download
php projects
vb.net projects
java projects


http://siteownersforums.com/t52125-p...age-board.html
http://siteownersforums.com/t58701-need-tutorial.html
http://1pageicon.blogspot.com/
http://ieee2015.blogspot.com/
http://php-major-projects.blogspot.com/
http://listprojectreport.blogspot.com/
http://topicsproject.blogspot.com/
http://helponproject.blogspot.com/
http://projectdownloadgroup.blogspot.com/
http://ieeeproject2014.blogspot.com/
http://125csedown.blogspot.com/
http://siteownersforums.com/t58701-need-tutorial.html

boysingh 09-15-2014 06:34 PM

Quote:

Originally Posted by project (Post 414945)
Bad Links

These are not actually useful, it's not related to the question that was asked.

Beagle123 10-04-2014 02:54 PM

You would need to write the code in php to download the header for the webpage, then if it returns a "not found" (404?) error message, have your php script spit out the alternate link. This will be very slow. You may not want to do it. I'd look for an alternative unless this is really low-volume e.g. for your personal use.

softech 10-09-2014 11:08 PM

You would need to write the code in php to download the header for the webpage, then if it returns a "not found" (404?) error message.

ledtubelight 10-09-2014 11:19 PM

thanks for the links

alirezador 10-20-2014 04:35 AM

hi
please use fopen command to check 404 link

StuartSpindlow1 10-27-2014 10:44 PM

Yeah you can use the fopen command to check link error.

duclv 11-09-2014 06:50 PM

May be none

code9 07-09-2015 05:37 AM

use online back link checker tools and solve your issues

rikshaw 08-20-2015 05:34 AM

Link error checking
 
You can use different tools like w3cvalidator, link checker, etc to fix your link error.


All times are GMT -7. The time now is 03:33 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.