How to hide product form all pages i.e category page, search page, related page etc however that product can be opened with a direct URL?

How to hide product form all pages i.e category page, search page, related page etc however that product can be opened with a direct URL ??

Can any one provide best solution ?

You need to change the product’s «Visibility» attribute from «Catalog, Search» to «Search» (the product will be still shown in search results but will disappear from frontend product lists).
04

As another solution, you can change the product’s «Visibility» attribute to «Catalog», and then exclude the product from any categories. But this solution will affect the product’s URL if it contained a category path before.