A client is interested in my encrypting his HTML so that competitors won't see his keywords. I'm about to advise him that Google also won't be able to see the keywords, so if he cares about SEO (search engine optimization) he should forget the idea.
Am I missing something?
I'm in agreement with you. You cannot encrypt HTML, browsers wouldn't be able it read it.
You need to find some alternative options for your client. SE have impact if you encrypt them. As a developer you better understand about WEB2.0 standard and different validations like W3.
What if you were to leave the HTML as is, and add a defer script that encrypts everything after a load? That brings to mind that the source code would still reveal the HTML though. What do you guys think?
you can serve a HTML version to bots, encrypted code to others.
however i shall say, its waste of time.
Well, that's what I thought till I tried, for example, ProtWare's HTML Guardian at protware.com.
I've set up two temporary Web sites to illustrate encryption for some friends. For the regular unencrypted site whose source you can read, look at test01.editech-online.com. To see the same HTML encrypted, see test02.editech-online.com (the green banner on top won't go away until I pay for the software).
Now, if browsers can read it, shouldn't Google and other web crawlers be able to read it? Maybe SEO would work, after all. I don't understand it, because I certainly can't read it.
Could you explain a little more, especially so that I can understand the relevance to my question about encrypting? :headbang:
Updated based on a deeper dive of the software tools
Also keep in mind that your page ultimately renders back which means a developer addon like Firebug will generally show your code just fine thus defeating the benefit of any such system.
The idea that protecting front-end code is a benefit has always baffled me. I can still take your images, copy, and easily snag out any scripts or styles; it's client-side code, if people want it, they can get it.
What's a defer code, and how does it work?
Why is it a waste of time, if my client wants to protect his list of keywords?
EDIT: I do however believe that this method is a dead end because I do not believe it will change anything when you view the source code within the browser.
I forgot to mention that the software allows me to hide my .CSS stylesheets, but I haven't yet tried it on this site.
Load a page up with firebug and you'll see the sheets [and the entire html source] just fine. Remember, if the browser sees it in the end, so can anyone else... looks like the only thing this really stops is the novice and potentially the engines.
You also can't right click or highlight text with their script in place. That sucks for usability... no sharing, no quoting, no bueno.
Aaaargh! Thanks! Yes, I can see all my HTML with Firebug. So the whole idea of encrypting is toast, except for novices, and it may very well get in the way of search engines. :toast:
I've learned a lot from this discussion, but I'm left with one question. If I can read the "encrypted" page using Firebug, why can't the search engines also see it perfectly? :badpc:
Maybe they can... no one from Google seems to have answered the question.
If you obfuscate the content it becomes easier and it's just characters but again the question isn't can they read it but rather, did someone code a way for them to translate it back and read it.
And the answer to that is often simple -- it's not worth the work.
Tiny remaining oddity: On a Vista PC with the "encrypted" page, I tried Firefox, Explorer, Opera, and Chrome. I was able to right-click on all of them but couldn't highlight text on Firefox and Opera. I could highlight with Explorer and Chrome.
Another oddity: These browsers displayed my Cufon font, except for Explorer. :crazy:
Check your browser settings to see whether you have it set to disable "no right click scripts" or whether you have it set to allow those scripts to disable the functionality of your browser. Whether a web page can disable mouse buttons or not depends on the configuration of the browser.
This topic is now archived. It is frozen and cannot be changed in any way.