Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Is there a way to escape server-generated code?

Two of my clients' servers generate code that invalidates rendering

7:44 pm on Feb 21, 2012 (gmt 0)

10+ Year Member

I've tailored my code to validate in both HTML and CSS, to have acceptable semantics, and to be mobile-ready.

The server for one of my clients displays his pages within a frame (transient doctype). (Viewing the source for the client's pages doesn't even reveal the code I've constructed!) The other client's server appends non-validating javascript after the closing < / html >.

In addition to the problems I've had controlling page rendering, it's my impression that these can affect pagerank. Is there an acceptable way to bypass server-inserted code? (Is it, simply, a matter of finding a different host?) I would surely appreciate your advice.
9:21 pm on Feb 21, 2012 (gmt 0)

WebmasterWorld Senior Member penders is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

You need to find a different host IMO or upgrade your hosting. The only experience I've had with hosts injecting code like that is on cheapo/free services where they will inject ads in the page. Difficult to remove (you can't remove it completely) and would probably break T&Cs.

A framed site gives the impression you are using "free" hosting that comes as part of an ISP contract. You can view the source if you view the "frames" source.