Piyush Mahes Posted July 12, 2020 Share Posted July 12, 2020 Hey Buddies , sir I am using webhoster whmcs template and it has custom pages in template like shared_hosting.php , reseller_hosting.php , so sir I want to only index these pages on Google and I want to hide or I don't want to index cart.php page in google like cart.php?gid=1 etc. I want to hide cart.php from search engines and I want to show only that template files like shared_hosting.php etc. Anyone can tell me how can I do this ? 0 Quote Link to comment Share on other sites More sharing options...
waikey Posted July 20, 2020 Share Posted July 20, 2020 disallow in the robots.txt User-agent: * Disallow: /cart.php?* 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.