i have a php page that grabs an id from a query string and directs to the appropriate link. for example link.php?id=page1 If i block the link.php from being indexed inside my robots.txt file will this effectively stop those links from passing juice to the affiliate site? Thanks.
That is probably the best approach as the bots will ignore links.php altogether! Although a general header redirect should pass much juice anyway. Hope this helps
but the links.php is just a redirect, it has no content on it, why would I want this indexed? thanks.
This robots.txt will block links.php and links.php?id=2 : User-agent: * Disallow: /links.php Code (markup): Jean-Luc