daveg7 — 2011-08-12T05:06:53-04:00 — #1
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?
anthonysterling — 2011-08-12T08:21:19-04:00 — #2
I'm in agreement with you. You cannot encrypt HTML, browsers wouldn't be able it read it.
lojogroup — 2011-08-12T09:04:47-04:00 — #3
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.
mentalmaniac — 2011-08-12T11:14:43-04:00 — #4
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?
webcosmo — 2011-08-12T11:44:34-04:00 — #5
you can serve a HTML version to bots, encrypted code to others.
however i shall say, its waste of time.
daveg7 — 2011-08-12T13:44:29-04:00 — #6
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.
daveg7 — 2011-08-12T13:55:20-04:00 — #7
Could you explain a little more, especially so that I can understand the relevance to my question about encrypting? :headbang:
ted_s — 2011-08-12T13:56:05-04:00 — #8
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.
daveg7 — 2011-08-12T13:56:46-04:00 — #9
What's a defer code, and how does it work?
daveg7 — 2011-08-12T13:58:24-04:00 — #10
Why is it a waste of time, if my client wants to protect his list of keywords?
mentalmaniac — 2011-08-12T13:59:02-04:00 — #11
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.
daveg7 — 2011-08-12T14:01:58-04:00 — #12
I forgot to mention that the software allows me to hide my .CSS stylesheets, but I haven't yet tried it on this site.
ted_s — 2011-08-12T14:05:06-04:00 — #13
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.
daveg7 — 2011-08-12T14:19:17-04:00 — #14
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:
felgall — 2011-08-12T15:51:54-04:00 — #15
daveg7 — 2011-08-12T16:53:26-04:00 — #16
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:
ted_s — 2011-08-12T17:06:55-04:00 — #17
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.
daveg7 — 2011-08-12T17:25:46-04:00 — #18
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:
felgall — 2011-08-12T19:50:39-04:00 — #19
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.