Forum Moderators: open
Am building a dynamic site with search engine friendly url's in it. What do I have to do when a dynamic productpage is indexed by a search engine and the product doens't exist anymore.
The problem is that the productpage is embedded in a mainpage. I already have made a custom 404 page but I don't know if it works. In the code I detect if a product exists, if not, I use a META HTTP-EQUIV=Refresh 0sec to a fake url(in the same domain). Then the 404 page will be shown. I wonder if the search engines will take this productpage out of the index. This is exactly what I want.
Does someone have the answer to this or is there a better solution?