I have products page on a website that have a temporary url. When the product is sold, it is not accessible by its URL any more since it disappears from the database. Problem is, I don't want the search engines to keep visiting those old addresses...
Example url :
http://domain.com/details.php?product=131What is the best way to manage temporary pages?
I am thinking I should use PHP to generate an .htaccess file or even a robots.txt file to ignore those urls after they have been removed... But those files will grow very large and that could be a problem. What do you think?
Start Free Trial