Hello, I have a linkexchange script i've made but i have a problem with linkexchanges when the backlink is on a site that can change from page like directories. Is there maybe a solution for this ? Because my backlink checker gives an error that the url is not found because its changed from page on the site.
I don't understand what you mean... You want to code a script that checks to see if there is a link on someone's site that points to yours?
Yes because i have several exchanges and sometimes my backlink changes from page because they work with a navigation like 20 links per page.
It sounds like you want to try a recursive checking process. So if your link isn't on the page you thought it was you start looking on the pages that the initial page links to. If it is not on those pages you again check the links and so on. Obviously you've got the makings of your very own spider there so unless you want to crawl half the internet you want to restrict yourself to the domain you expect to find your link on. Some other tips would be to space out your page requests to every 2-5 seconds and start by only moving down the directory structure, not up.
And if you make your own spider, you can give them a meta tag to put on their site to simplify the process.