Dario Posted December 19, 2020 Share Posted December 19, 2020 Hello I use whmcs for administrative purposes, like a second website with a subdomain. The main domain is a basic html website. All I need is to prevent google from indexing whmcs, or certain url's such as: clientarea.php, cart.php, cart.php?a=add&pid=1, cart.php?a=view and other url's I have read that adding if else in the head.tpl is enough, but I do not get positive results. Can anybody help me? 0 Quote Link to comment Share on other sites More sharing options...
luizaraujoofficial Posted February 22, 2021 Share Posted February 22, 2021 Hello, you can start by editing the file modelos/{your-template}/header.tpl. and add the tag <meta name="robots" content="noindex,nofollow"/> This helps index only public pages on whmcs - I personally do not recommend {if $filename=='clientarea' or $filename=='login' or $filename=='register'} <meta name="robots" content="noindex,nofollow" /> {else} <meta name="robots" content="index,follow" /> {/if} Greetings Luiz Araújo 0 Quote Link to comment Share on other sites More sharing options...
Mihai Dobre Posted March 27, 2023 Share Posted March 27, 2023 Hello, I'm using WHMCS on /billing/ folder under the main domain.... Now few days ago I have added the WHMCS Bridge and I'm using on the main site as button: Client Area which gets the results from the WHMCS installation in /billing/ ... Now my question is: Should i noindex, nofollow the files from the WHMCS nor /billing/ folder? Cause i get more results in Google from the WHMCS installation then from the main website. Hope someone can clarify me :) Best Regards, Mihai Dobre 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.