• Blog

    Latest from our Blog

  • Tools

    Our Favourite WP Tools

  • Hosting

    Recommended Web Hosts

  • Coupons

    Get great money off deals

  • Themes

    WordPress Theme Directory

  • Plugins

    WordPress Plugins Directory

  • Promote

    Your WordPress Product

If you have a WordPress theme with footer links to various websites it can look spammy and can even harm your search engine rankings. If the theme is released under the GPL, then you are well within your rights to remove these links, no matter what the theme provider says. The GPL is a type of license that says you are free to modify the source code of a particular piece of software, you are free to distribute it – you are even free to sell it if you wanted to.  If the theme does not include a GPL license, then its more of a grey area so I would recommend you look elsewhere for a theme. With that in mind, in this article Im going to show you how to decode the footer links and remove them.

Locating the Encoded Links

The links are usually in your theme’s footer area, so in your theme’s folder open up the file footer.php in a text editing program like notepad. Look for some garbled text like this :

<?php
$str = 'SGVyZSBpcyBzb21lIHNuZWFreSB0ZXh0LCB1c3VhbGx5IHdpdGggbGlua3MgPGEgaHJlZj0iaHR0
cDovL3dwbGlmdC5jb20iPldQTGlmdC5jb208L2E+';
echo base64_decode($str);
?>

There will often be a lot more than than that as some people endode parts of the theme itself, not just the sponsor links. The piece you want to copy is all the capital letters and numbers :

SGVyZSBpcyBzb21lIHNuZWFreSB0ZXh0LCB1c3VhbGx5IHdpdGggbGlua3MgPGEgaHJlZj0iaHR0
cDovL3dwbGlmdC5jb20iPldQTGlmdC5jb208L2E+

Decoding the Links

This type of encryption is called Base64, there are a number of sites which can decode this online. Here is a good example. Paste your code into the top box and press the decode button, the decoded text will appear below :

In this example, the encoded string is just text and links – you can just delete the whole encoded part from your theme and save your footer.php file. Sometimes part of your site design is included, which if deleted will break your design. In that case you would just remove the links and copy the other part of the code back in.


Post Tags

Author:

Oliver Dale is the founder of Kooc Media, a small internet company based in the UK. Kooc Media runs several high-profile websites including WPLift, ThemeFurnace and DesignersTalk.

Leave Yours +

7 Comments

  1. Lkjh

    Easier than that:

    Add a START and END comment into the footer.php then view the site in a browser.
    See where your tags are and remove any spurious code between the comments.
    Better still, don’t use any themes that include base64 or download any free themes NOT from reputable sources.
    If nothing else, read this:http://wpmu.org/why-you-should-never-search-for-free-wordpress-themes-in-google-or-anywhere-else/

  2. Hello very nice website!! Man .. Excellent ..
    Wonderful .. I will bookmark your website and take the feeds also?
    I am happy to search out so many helpful information here
    in the submit, we want develop more techniques in this regard, thank you for sharing.
    . . . . .

  3. Can you teach us how to check that which themes are embeded by affiliate link? I got that many time when i use free theme

  4. Excellent !!! Thank you! removed from the site http://btut.ru

  5. When I initially commented I seem to have clicked on the
    -Notify me when new comments are added- checkbox and now each time a comment is added
    I receive four emails with the same comment. Is there a means you are able to remove me from that service?
    Kudos!

Leave a Reply

* Required Fields.
Your email will not be published.

Search

Our Sponsors