Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

How to remove powered by in fotter for donut theme

+3 votes
121 views
asked Aug 2 in Themes by Raja Koppula
I see that my website got attracted with a lot of spam bots, i observe spam bots find my website using the powered by string so i want to remove or modify it to hide foot prints for spam bots, so some one please tell me how to do that.

Best regards,
Raja.
Q2A version: 1.7.4

1 Answer

+1 vote
answered Aug 2 by pupi1985

The "Powered by" text does not really depend on the Donut theme. It comes from the core and the theme just adds its own attribution.

You can modify the text of the attribution in these files (most likely you just care about the last one):

qa-feed.php:
$lines[]='<description>Powered by Question2Answer</description>';

qa-theme-base.php:
$attribution = '<!-- Powered by Question2Answer - http://www.question2answer.org/ -->';

qa-theme-base.php (again):
'Powered by <a href="http://www.question2answer.org/">Question2Answer</a>',

Anyway, there is no need to remove it as you could just change it into something like "Thanks to". That won't match in the bot search results and you would still help Q2A.

commented Aug 8 by Raja Koppula
Hi, thank for the response, Yes the issue is resolved, yes i changed it to something that is not the bot friendly.

Regards,
Raja.
...