html encryption, good or bad for SEO purposes?

Discussion in 'HTML & Website Design' started by Edz, Nov 29, 2005.

  1. #1
    If i would use html encryption to disquise my affiliate links would this comprimise the whole site for Search Engines not giving the abilty to crawl and index a site properley?
     
    Edz, Nov 29, 2005 IP
  2. discoverclips

    discoverclips Peon

    Messages:
    491
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i did not know html encryption existed.
     
    discoverclips, Nov 29, 2005 IP
  3. Edz

    Edz Peon

    Messages:
    1,690
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    0
    #3
    :) Me neither, apparently you can encrypt the source code of your pages but doing so would in my oppion also encrypt the text of your pages therefor making it impossible for search engines to index your site. And giving the results that are needed to get good positioning.

    HTML encryption gives me the same perception as totally not wanted to get indexed by the engines.

    Or am i totally wrong here?
     
    Edz, Nov 29, 2005 IP
  4. Dejavu

    Dejavu Peon

    Messages:
    916
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You cannot encrypt html documents. You can basex encode or similar so that they look like %23%sbd%34%vd etc etc, but converting it back is trivial. (And it might very well confuse the engines, just a silly thing to do really)
    You can disguise affiliate links with javascript ( <a href="" onmouseover="status:newwhaeverurl"> of similar), and this should not affect the search engines.
     
    Dejavu, Nov 29, 2005 IP
  5. Edz

    Edz Peon

    Messages:
    1,690
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    0
    #5
    For me basicly it's the affiliate links that i want to disquise so i would definately want to hear more about this
    Also when javascript turned off wouldn't this mean the disquising wouldn't be working then?


    I encountered this website http://www.rlrouse.com/html-encryptor.html and they state they can encrypt your source code and it will still work:eek:
    I don't know about this but it's confusing me though.
     
    Edz, Nov 29, 2005 IP
  6. blinxdk

    blinxdk Peon

    Messages:
    660
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    0
    #6
    All they do is use javascript to write the html and makes it look a bit confusing. Calling it encryption is stretching it.
     
    blinxdk, Nov 29, 2005 IP
  7. Dejavu

    Dejavu Peon

    Messages:
    916
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    0
    #7
    It goes like this
    If javascript is turned off, the normal affiliate link will show, but very few have it turned off nowadays.
     
    Dejavu, Nov 29, 2005 IP
  8. Edz

    Edz Peon

    Messages:
    1,690
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thanks guys:cool: Overall it would be a bad idea to try to encrypt the whole source code is my perception at this point.

    There are other programs that claim they can encrypt with some sort of algorythym the html source code.

    Doubt it if it's any good for SEO.
     
    Edz, Nov 29, 2005 IP
  9. forkqueue

    forkqueue Guest

    Messages:
    401
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #9
    HTML 'encryption' is a stupid idea. Anyone that wants to read the code and has the slightest bit of intelligence still can. Anyone that is stupid will be mystified by HTML anyway.

    Rather than waste time on 'encryption', spend it writing new content.
     
    forkqueue, Nov 29, 2005 IP
  10. Edz

    Edz Peon

    Messages:
    1,690
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I agree with you it's a stupid idea but an sophistacated encryption algorithym is not easily bypassed;)
     
    Edz, Nov 30, 2005 IP
  11. BurgerKing

    BurgerKing Active Member

    Messages:
    397
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    58
    #11
    I use HTML encryption to hide email addresses.

    Try this out:

    <script type="text/javascript">
    var sInText;
    sInText = '=b!isfg>(nbjmup;dpoubduAejhjubmqpjou/dpn(?Dpoubdu!Vt=0b?';

    var iC;

    for (iC=0;iC<sInText.length;iC++)
    {
    document.write( String.fromCharCode(sInText.charCodeAt(iC)-1));
    }
    </script>


    Stops the spammers dead.
     
    BurgerKing, Nov 30, 2005 IP
  12. tresman

    tresman Well-Known Member

    Messages:
    235
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    138
    #12
    If it's for encrypting HTML, usually is easy as turning javascript off.
     
    tresman, Nov 30, 2005 IP
  13. Edz

    Edz Peon

    Messages:
    1,690
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    0
    #13
    uhm, your right but this wouldn't count as an sophisticated encryption method if it only requires to turn of javascript.
     
    Edz, Nov 30, 2005 IP
  14. evilmonkeyspanker

    evilmonkeyspanker Peon

    Messages:
    276
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #14
    It would be seo suicide. On top of that a complete waste of time. When I first started doing web design about 8 years ago, I thought it was just the coolest idea ever.... Trust me it's dumb
     
    evilmonkeyspanker, Nov 30, 2005 IP
  15. Edz

    Edz Peon

    Messages:
    1,690
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Yeah, i thought it would be a good idea to obfuscate some affiliate links but encrypting the whole source wouldn't be a good thing to do like you very well described as SEO suicide :) just like i thought it would be.
     
    Edz, Nov 30, 2005 IP
  16. tresman

    tresman Well-Known Member

    Messages:
    235
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    138
    #16
    Ok,

    You could be right, but unfortunately you are not. Is there any other way to serve encrypted HTML? HTML comes to the browser as it is, (x)HTML. Then, by javascript, it gets encrypted. This is the way all these programs work. If it wasn't that way, and the HTML came already encrypted, how do you think ANY browser would read it?

    The most you can do is to try to ofuscate the code by removing spaces, coding entities and things like that. But now you know the HTML has to come as it is, HTML, try to think about ANY other way to encryption on te client side.

    And as evilmonkeyspanker says (hey! you replied while I was writting :) ) it would be a SEO suicide.
     
    tresman, Nov 30, 2005 IP
  17. SendBlast

    SendBlast Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Obviously it hurts as it cant be read by spiders.
     
    SendBlast, Nov 30, 2005 IP
  18. FeelLikeANut

    FeelLikeANut Peon

    Messages:
    330
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Given the following function
    function
    escapeHTML(str)
    {
    	return str.replace(/&/, "&amp;").
    	           replace(/</, "&lt;").
    	           replace(/>/, "&gt;").
    	           replace(/"/, "&quot;").
    	           replace(/'/, "'").  // supposed to be & #39; but forum software is buggy
    	           replace(/-/, "-");  // supposed to be & #45;
    }
    Code (markup):
    then all you need to change in your code above is
    document.write([color=red]escapeHTML([/color]String.fromCharCode(sInText.charCodeAt(iC)-1)[color=red])[/color]);
    Code (markup):
    You can always do this no matter how complex the algorithm is.

    The point is, contrary to what has been said above, ecnrypted HTML (that is being automatically decrypted) is always easily bypassed.

    (Note: You can only make information secure if you require the user to enter a password.)
     
    FeelLikeANut, Dec 1, 2005 IP