How do I encrypt a footer link on wordpress?

Discussion in 'PHP' started by kevydesigns, May 1, 2012.

  1. #1
    Hi all,

    I created a theme on Wordpress and I want to add my link on the footer so that other people can not remove the copyright link.
    How do I achieve this? and how do I encrypt it so that if the user removes the link, the theme does not function.

    Thanks
     
    kevydesigns, May 1, 2012 IP
  2. seafrontsteve

    seafrontsteve Peon

    Messages:
    451
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    With difficulty.
    The problem is that any code people can see they can change or remove.
    Any solution to avoid this problem complicates life for honest users.
    What you really need to do is encrypt or hide the php code but allow it to execute.
    The only way I know is to use software like zend studio - that integrates with software installed on most apache servers to decrypt / decode then run the resulting php code normally.
    Zend is expensive - even for developers - but maybe you can outsource?
    The solution is worse than living with the problem for most people - so they don't bother
     
    seafrontsteve, May 1, 2012 IP
  3. kevydesigns

    kevydesigns Well-Known Member

    Messages:
    1,209
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    125
    #3
    Thanks Steve.
    I will see what I can do.
     
    kevydesigns, May 1, 2012 IP
  4. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #4
    It's futile and doing it is counter productive towards the type of people and websites you want to use your designs. People who want to steal it, will figure out a way to regardless of how well you obfuscate it. People that would typically give you credit will be turned off by obfuscated code and likely wont use it. The best compromise is to make the links part of the license agreement and make sure the links are something that a website owner has no problem linking to. Example, a thoughtful link to your design company would be appropriate and most website owners wouldn't mind keeping it there. Links to some product or service other than something related to your company, especially if they are of questionable content, is probably inappropriate.
     
    jestep, May 1, 2012 IP
  5. Northize

    Northize Greenhorn

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #5
    I'm afraid jestep is correct. However, there are good solutions when it comes to encoding. I'd suggest you to try IonCube if you are looking for a encoding solution.
     
    Northize, May 1, 2012 IP