rdufour's picture

Love what you guys have done here.  I recently downloaded the wordpress appliance to put my small biz website on.  I was wondering how to remove the "Powered by TurnKey Linux" footer from the bottom of all of my pages, or at least from the side bar as it interferes with a portion of my site and does not look very professional.

Thanks for your help and keep doing what you do.

[UPDATE]: As noted in a comment below the quickest/easiest way to do this on most TurnKey appliances (at least the LAMP based ones) is:

a2dismod substitute
service apache2 restart

If you get errors and/or it still displays after reloading the page, please open a new thread on the forums and state the TurnKey appliance and version. If you're not sure, please include the output of:


Also, if you remove the credit footer, please consider how you might otherwise be able to support us to continue our work?! :)


Liraz Siri's picture

The credit link is intended to help spread the word about the appliances. TurnKey Linux is a relatively new project so that's an important part of finding new users we can help. By default it's themed in a tiny font that doesn't spoil most themes.

In any case, it's easy to override the CSS for the credit footer so you can theme it to your liking like this:

/* This removes the credit link, but if possible we ask that you try and
re-theme it to your liking instead as a courtesy to the TurnKey Linux
project */

#turnkey-credit #override {
  display: none;
rdufour's picture

I love what your project is doing and I want to leave the footer, actually mod it just a bit and still give you guys props.  What I really need to remove is the one on the side bar.  I have a looping news gaget going and your credit is in the way.  I am new to wordpress and my web developer did 90% of the work.  I understand what to do I just cant find the correct css file.


Thanks again.

Liraz Siri's picture

Any CSS code you add to any CSS file is applied globally. Unlike with templates it doesn't matter which file you add your code to. If you can't get the credit link to display in a way that doesn't spoil your site I recommend you turn off it's display and consider giving us credit elsewhere in a way that is more suited to your site.
mightyd2k's picture

Does this code apply to Joomla as well? I can't seem to get this to work either.

This worked for me:  Just add the following line to the template CSS file:

#turnkey-credit { display: none; }

Jaden Bryant's picture

Hey thanks this worked great! I will add that you have to put in the templates "unwritable" css file and it should work.

fredster's picture

rdufou, add the code to your template's template.css to remove the footer.

rdufour's picture

Thanks for the help.  The footer is gone.  I will be adding a custom footer back and include the link to here.  I still have it on my side bar.  It is an iframe inside a text widget located on the sidebar.  Sorry for the annoyance.  Any ideas on this one.

Liraz Siri's picture

It sounds like the CSS override isn't being applied inside your text widget which is being served as an IFRAME using the output from a separate PHP script. There are a couple of things you can try. Editing the PHP script to insert a bit of inline CSS into the PHP code that generates your widget, like this:

<style type="text/css">

#turnkey-credit #override {
    display: none;


Or alternatively you can disable the substitute Apache module that inserts the credit's HTML code ("a2dismod substitute" in a command line).

homer15's picture

 which css file should be edited?  i'm using an appliance that was initially phpbb but now has wordpress on it, as well.  i want to remove the "phpBB Appliance -" and just have "power by turnkey linux", but editing single directory css files doesn't seem to make the change.  

CK's picture

While I do appreciate all the hard work and contribution to the OS community that you guys have done, I have found on some of my website (pro ones)  that is necessary to remove the footer message. But please do give as much credit to these people that we can because what they have done is nothing less than extraordinary. Anyone can host professional websites from home or the cloud because of what they have done. 


I found the best way to do it other than CSS, because non-CSS pages will still have this footer message:

1. Login to webmin using your root account.

2. Under the Servers tab go into Apache.

3. Click Default server.

4. Under Per-Directory Options click Location /

5. Click Edit Directives.

6. Delete all the stuff in that box. Save and restart apache/ click apply changes.

7. Reload your webpage, you might need to clear your cache. 

Steve-cc's picture

Thanks - worked perfect

Shareef's picture

That works like charm... :)

Todd Palmieri's picture

I used this before and it worked perfectly.

We had to restore our server from backup (which also worked perfectly), but the "Powered by . . ." reappeared.


I tried to follow the same instructions, but the directives were already empty.  I tried clearing cache, etc. to no avail.

I love Turnkey Linux and have recommended them a lot, but forcing themselves into the footer, and then forcing the very people who benefit form turnkey's ease of use to deal with it does far more harm than good for them. (I know you are not affiliated; just needed to vent!)


Any ideas?  This issue is holding up the launch of our site.

(Sorry for the typos in my original post)

Alon Swartz's picture

You might need to restart apache for the changes to take effect.

Liraz Siri's picture

Sorry this is giving you trouble. The footer is a compromise. Users who choose not to disable it give TurnKey a big boost by helping the project help others.

In any case, if you're having trouble with the Apache directives it shouldn't be difficult to just disable the footer by adding a bit of CSS as I described above:

#turnkey-credit #override {
  display: none;
William's picture


To do the same from cli...
mv /etc/apache2/mods-enabled/substitute.conf /etc/apache2/mods-enabled/substitute.old
touch /etc/apache2/mods-enabled/substitute.conf
/etc/init.d/apache2 restart

sameer's picture

Worked Perfectly...Thanks for the tip.

Jmtyra's picture

That worked wonderfully, thank you for that tip. :)

AlexN's picture

That worked like a charm. Thank you for the easy to follow steps!
str1's picture

Thanks CK for the info! I appreciate the work that you guys do with these TurnKey -servers but please keep in mind that this forcing-way of spreading your message can be harmful for your success. Hopefully you change this policy and continue the good work!

Guest's picture

Too bad!

If it's about giving credit where it's due, you yourself removed the "powered by Drupal" from this very site.  With some little persistent bug like this in the code, I'm not going to use or recommend it now for production servers, which means it won't be an accurate test server either.

If I did use it, I'd be thinking:  What other little self-serving bugs have you placed in the stack/code?  Will redirect ads start popping up on all the turnkey sites in a few months?  Have you left backdoors?  Yikes!

Alon Swartz's picture

As Liraz pointed out, the credit link is intended to help spread the word about the appliances. TurnKey Linux is a relatively new project so that's an important part of finding new users we can help. By default it's themed in a tiny font that doesn't spoil most themes.

Removing the credit link is clearly documented, and you may do so.
kylekeith's picture

I'm all about giving credit but when I am billing a client to setup a server and or web application it looks rediculous if they can just go to your website and download a new vm :)


Its great to help development and thats why I recently bought you guys 12 beers :)




grosir aksesoris wanita's picture

which css file should be edited?  i'm using an appliance that was initially phpbb but now has wordpress on it, as well.


thank you..

Josh D's picture

I apologize if this is listed somewhere, I honestly have looked everywhere I can think of.

Can someone please explain how the Powered by TurnKey Linux footer is removed from the Moodle installation? 

(If my employer weren't billing for this installation and requesting the removal, I would leave it!)

Keep up the great work, I shall donate to the Beer Fund my friends.



RandomGeek's picture

From what I can tell all TurnKey appliances that have the credit link insert it in the same way so there is no Moodle specific place you should need to know about. There are several ways to remove the footer, all documented above. The easiest is to simply to 'display: none' it in your CSS stylesheet.

Jimmy O&#039;regan's picture

Look at the comments posted by Liraz and later CK. But really you should consider styling the link so that it blends into your site naturally. TurnKey is still a relatively new project. By keeping the credit link you are helping to spread the word and help people just like you find it.

Guest's picture

How is this message generated? Is it within Drupal somewhere or a directive to replace the </body> tag with the added code within Apache2? I'm curious to know; it seems a bit unsecure that an external process is modifying pages without my knowledge.

Jimmy O&#039;regan's picture

I took a look at this a while back and the way this is implemented doesn't use any external processes  to modify the outgoing request. It's just a pretty simple static post-processing directive on the outgoing response done by Apache which users can can easily modify (or disable). If you read carefully you'll see this is actually documented in the above thread. It's just easy to skim over...

csdco's picture

Thanks Jimmy. I did indeed miss that line about disabling mod_substitute, it was a little hidden under the code box!

For those interested in the specifics, the Apache module mod_substitute is used to search and replace any pattern matched as directed. In this instance, the conf file for this directive is located at /etc/apache2/mods-available/substitute.conf. You can modify the contents of this file OR you can run this command "a2dismod substitute" to disable the module. You'll then need to restart Apache via the command "/etc/init.d/apache2 restart".

I love spreading the word and all, but I use this server to display client's websites as well as to display lots of marketing collateral. If I send someone to a static HTML page to review and approve graphics, Flash, videos, etc., it's very distracting to have this message just under what I'm trying to show off. 

Thanks for the great software. 

Guest's picture

Perhaps this is a little too well embedded. I am trying to use the VM to run two test websites and the substitute mod is forcing its way onto my other CMS' pages. I worked for a company that makes a CMS product and we never assumed that the client will want Powered By... pasted into their design. We always asked them first. Maybe as a compromise you could put it in the standard template that comes with the CMS you are supplying.

csdco's picture

You bring up good issues.

1) Your company's CMS was likely not free or was part of a paying package. Turnkey Linux (and Drupal, a CMS which does have "Power by Drupal" by default) are both free. 

2) There isn't really a standard template for most CMS. Sure, there is a default, but people oftentimes select a new theme immediately.

I agree, though, that using mod_substitute is too high powered for this goal. It's typically used in a free hosting environment, or somewhere that you're "babysitting" clients. 

csdco's picture

Also finding and replacing the </body> tag isn't cool. I'm sure there are instances where this could mess with someone's code.

Liraz Siri's picture

We implemented the credit footer this way because it's the only generic solution we know of that would work across appliances. This way, it's always in the same place, so tweaking it to your liking or turning it off is just one google search away and one command line away. We're still open to other ideas though.

Note that we don't enable the credit link for all appliances, only where we figure it makes sense. For example, the LAMP stack appliance doesn't have one.

But as with any other default. It's a compromise. You can't please everyone all of the time. Every solution has pros and cons either way. If you're one of the many users who discovers TurnKey via the credit link, you might appreciate it more than if you found out about the project some other way and you're just annoyed that it needs to be tweaked a little to do exactly what you want.

Remember, as a small open source project we have limited tools for helping people discover the appliances. This is one of the most important. Users can always turn it off but we're hoping they don't. We're donating our time to help you for free and we're hoping that inspires you to pay it forward and give back by helping others.

I understand sometimes you don't have a choice and you have to remove it, in which case I hope you'll at least help spread the word about the project in some other way (e.g., word of mouth referrals, blog posts, tweets, etc.)

K-A's picture

I just wanted to say that the point that Liraz Siri is making is a very good one!


I personally found out about TurnKey Linux from a footer link.  I am happy that the method to remove the credit is freely posted here in the forum (which is sometimes necessary), but I also will be leaving the link most of the time I work with TurnKey.


Thanks for all the work you guys do on TurnKey Linux!  This is truly an awesome product!  I look forward to more softwares being "TurnKey-ed" such as Nagios and I look forward to turnkey moving to later versions of Ubuntu as well.  Again, this is an awesome product and "thank you".

Liraz Siri's picture

It's good to also hear from people on the other side of this issue who benefited from the footer link. Glad you are finding TurnKey useful, and thanks for pitching in!
Guest's picture

I want to modify the credit on the Trust theme and I am having difficulty doing so because I can't find where the it is. Please help...

Jeremy Davis's picture

If you don't have full access to your server then you will have to get your host to do it for you. I'd contact them and see if they can clarify this for you.

jepit rambut's picture

which css file should be edited?  i'm using an appliance that was initially phpbb but now has wordpress on it, as well.

thank you..

William's picture


I've just found that when you print a wordpress page using google chrome print feature that the footer prints about a thrid of the way down the page.

Rom's picture

If you have administrative access to the host and you want to completely remove the "Powered by TurnKey Linux" you simply need to delete two symlinks and restart apache.  From commandline run the following commands (Assuming you are using Ubuntu):


rm /etc/apache2/mods-enabled/substitute.conf

rm /etc/apache2/mods-enabled/substitute.load

/etc/init.d/apache restart

Marcus's picture

Thank you so much.  I like to put in a little thank you in my about page instead of every page.  A big thank you to the TKL team as well.

Chris Musty's picture

The last line should be "/etc/init.d/apache2 restart" if using apache2, which I believe all TKL appliances use.

Chris Musty


Specialised Technologies

Larry's picture

Or you could use the new preferred way:

service apache2 restart

Julie Thompson's picture

How do you remove the turnkey linux statement in joomla 2.5?  AI have tried all of the above.

Marcus's picture

whilst not a big deal, it is a bit of a pain to find this support thread and remove that footer, normally you'd expect an option somewhere to disable this easily.

whilst using this way to promote your service is great (I do this myself), it's important to make it easy to remove or you'll rub some people the wrong way ;)

could you not package a little plugin within WP instead of including those files? That way you can just deactivate it in your plugins page, or not!

I'm willing to write it up for you if you'll add it, it's one file a few lines :)

just getting started with tkl but so far, am seriously impressed, well done!

Jeremy Davis's picture

But considering the range of TKL appliances then doing it with CSS seems the only logicial (and possible) way to acheive this across all appliances. The way it is makes it consistant code that can be applied across the board (rather than having a different plugin/code for each appliance).

Marcus's picture

I guess thinking further maybe that's unrelistic, but your solution is cheeky in terms of SEO and won't work for many users.

I don't mind using the solution above, but for your benefit, I'd find a way that allows users to turn it off easier. I get that it's a compromise though, you'll never please everyone...

Btw, whilst I don't want to add a link atm, I'll certainly blog about and recommend this service if it works out, it's a golden nuget for developers :)

L. Arnold's picture

"a Turnkey Linux appliance"  and leave it at that.

I believe it brings up security and other issues when the "name" of the appliance is given.

J Gardner's picture

substitute is not an enabled mod in 12.0 vms

adding to any template CSS does not change/remove either



Ryan's picture

My two cents on this...

First, I actually discovered this project by footer too-- and I am very glad I did!  I use it for all sorts of customer and project work, it's amazing what I've been able to use it for and how much it's helped me.  And had I not seen the footer one day.... well, who knows.

My question is -- I see where and how it's declared in CSS style sheets-- but where is "Powered by Turnkey Linux" actually defined?  That is, where are those words actually set in order to be displayed?

I ask this, because I would like to continue using all the appliances for customers and projects WITH the footer in place-- but I would like to append my company to the verbiage (separate, but on same line) so that my customers see both the Turnkey credit, and my company -- that adds professionalism for my customers and work.

In other words-- what file would I go in and edit where I could keep the TKL credit and append my company name? (NOT taking any credit for the project, just having my company name on the footer noting that my company is using the project.)

Liraz Siri's picture

First, great to hear that you found the project through the footer. That's why we put it there!

Regarding the technical details, for many (but not all) of the LAMP stack based appliances the footer is inserted into the HTML output using the Apache mod_substitute module which we're using because it's the most generic way to insert a footer without messing with application code. Look in /etc/apache2/mods-available/substitute.conf if you want to edit it.


On 14/09/12 08:00, TurnKey Linux wrote:

probablepossible's picture

Gentlemen, telling people to edit a css file is equivalent to telling people to put a flowerpot in front of the stain in the carpet.

It creates invisible text, readable by crawlers and bots-- bad juju for google.

I don't mind leaving your turnkey linux link. Setting up the server is something I cannot do, and I'm grateful to you guys that you have done it so well. I sure don't mind spreading the word. I have a few tech visitors, so who knows? Here's hoping!

but "wordpress application?" my virtual host-- despite my repeated requests to not be so kind, I can install wordpress with three clicks of the mouse, WP is famous for that-- she went ahead and saddled me with your self-congratulatory phrase. 

Niels's picture

Ok, so thanks for this fantastic system.

Maybe it is an idea to charge money and get rid of this *&^%^&* footer thing of yours. Please try to learn marketing and you will soon understand the reason why not so many people like these kinds of footers. Not every site in the world is to reach tech geeks with tech geek stuff. Maybe it is hard for programmers to understand that they are not the only people that take use of the thing called world wide web these days, I hope this message will make you understand a glimps.

As you can see I'm pretty frustrated. I was almost ready with my site and noticed this anoying footer message. Came on this page and tried all the steps from css to the apache code named several times.

On restart apache: files not found, unable to restart.

I don't know what to do next and think about leaving this system behind. This way of working is certainly not meant for the group you are trying to reach.

Jorijn Smit's picture

It looks like you did not recreate the substitute.conf file after renaming the old one.

See this blog post for a bit deeper understanding of what exactly is going on: http://liebertee.org/2014/03/removal-of-the-turnkey-linux-footer.html.

Jorijn Smit's picture

Chuck's picture

Hi All

Could you guy please show me where the .css file is that needs to be changes. I followed the steps that CK and it did not work. I must say it was a point in the right direction.

Chuck's picture

Michael Star's picture

Just to share what worked for me:

1: nano /etc/apache2/mods-available/substitute.conf
    and put a # tag in front of each line. ctrl+o, ctrl+x to save and close.

2: service apache2 restart

3: reload page.



Reason I had to get rid of it, was because of a free template that also has a "powered by" footer hardcoded in to the php, and can't be removed. I love TKL, recommend it to all the techies I know.

Jeremy Davis's picture

a2dismod substitute
service apache2 restart

Then reload page.

Binoy Chacko's picture

Could you please tell me the exact location of the CSS file?


Best Regards 

Binoy Chacko's picture

When trying to disable mod_substitute it gives module already disabled. 

Wicknet's picture

I'll begin by stating that TKL is one of the best open-source projects aorund, miles ahead of comparable, ready made appliances by other vendors. That being said, I'd defintely prefer to deploy some of them, especially in commercial environments, without the pesky footer.

I've looked at all the threads discussing how to disable the footer but neither the Apache mods-enabled commands work, nor does adding the line to display footer none in CSS files work for me.

May I request the TKL authors to provide a clear, step-by-step how-to document that clarifies how to remove the footer that is embedded in each appliance, especially the newest v13 appliances? Simply saying modify the template css file is not good enough as there is actually no template.css file to be found in /var/www directory. 

Trust me, this one step would be deeply appreciated by your community and will lead to more deployments of TKL appliances in enterprise networks, not less.

Many Thanks for your consideration!


Jeremy Davis's picture

Most of the LAMP based appliances are configured the same, but some are different.

I think your point and request are reasonable and we probably should add it to the Issue Tracker. However it would take significant labour to sit down and document how the footer is done in each and every appliance. As we are a small team (only 3 of us) we have tons of work to do on existing bugfixes and feature requests; let alone getting to the (very overdue) library refresh. With Jessie release just around the corner; getting together a v14.0 release candidate is also high on the agenda... Because of our labour bottleneck we constantly need to prioritise and re-prioritise so many "nice to have" things (like your request) just never get done...

Having said that, if it is something that you think would be of particular value to TurnKey Linux then please feel free to look over the build code and document it. I have no doubt that others would appreciate it. For example from my cursory glance it looks like this is where the footer is created for the ownCloud appliance. That should give you a good place to start in working out how to disable/remove it. I imagine that it would generally be configured in an appliance's conf.d/main config script.

PS great to hear that you like TurnKey so much - even despite the footer! :)

JT's picture

Having tried the above and not getting anywhere, I did the following:

in /usr/share/owncloud/core/css/styles.css

Find the section: 

#body-login footer, #body-login .push {
height: 70px;

and edit so it reads:

#body-login footer, #body-login .push {
    height: 70px;
    display: none;


...and the credit should be gone.

Jeremy Davis's picture

The bulk of this thread is really old so no longer very relevant... The instructions I posted above to disable mod_substitute should work reliably and make it super easy to disable.
Rosie Lukaszczyk's picture

in case if you don't have access to apache files, or want to turn off this Turnkey credit footer only in your wordpress site, add this to your wordpress theme's style.css:

/** Credit info in footer removal for TurnKey Linux */
#turnkey-credit  {
    display: none !important;

Marcus113's picture

When I have to go into plugins and remove 10 of them, then I had to go to google to search for where you have hidden the footer, it is no longer a turnkey solution. I had to do more configuration your image than if I had just installed everything with a few apt-gets and it makes me wonder what else might have been changed...
Junaid Shahid's picture

Guest's picture

I planned to use the "Gitlab TurnKey" with Nginx for projects, but I need to remove the footer with the version of the site engine for greater security. How can I do this?
Jeremy Davis's picture

As noted above, the easiest way is to disable mod_substitute:
a2dismod substitute
service apache2 restart
Guest's picture

Apache2 is not installed on the system. I tried to recompile Ngins without http_sub_module, but it did not work. I'll try again with removing the cache after. And I coudn't found the footer in gitlab files.
Jeremy Davis's picture

I forgot that the GitLab app is behind Nginx. And actually all Nginx does is act as a reverse proxy. So TBH, I'm not sure OTTOMH where the credit footer comes from?!

So I just grepped through the buildcode and found that it's appended on the bottom of the html template that GitLab uses.

You can find that file here: /home/git/gitlab/app/views/layouts/application.html.haml

Guest's picture

I searched the contents of the file in directories gitlab and app on Linux and even in Windows, but these tools apparently failed me. The next time I'd rather look for the source code. Thank you so much!
Jeremy Davis's picture

Good luck with it all. :)

Add new comment