Forum Moderators: open

Message Too Old, No Replies

how to disable advertisements generated automatically by web hosting

         

gcaweb

1:31 am on Feb 14, 2010 (gmt 0)

10+ Year Member



How to disable advertisements generated automatically by web hosting ?
Thanks

AD code (example)
------------------------------
<div id="" style="text-align: center";><div style="position:relative; top:0; width: 100%; height: 100%; margin-right:auto;margin-left:auto; z-index:99999">
<iframe src="http://example.com/byet300x250.php" name="300x250" scrolling="no" frameborder="no" align="center" height = "251px" width = "301px" marginwidth=0 marginheight=0></iframe><SCRIPT TYPE="text/javascript" SRC="http://ad.example.com.com/st?ad_type=pop&ad_size=0x0&section=204717&banned_pop_types=28&pop_times=5&pop_frequency=86400"></div></div>
</div></div>

[edited by: tedster at 3:08 am (utc) on Feb 14, 2010]
[edit reason] changed specific domains in code to example.com [/edit]

tedster

3:12 am on Feb 14, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello gcaweb and welcome to the forums.

You probably can't do anything on your own, since your web host, not you, has admin level access to the server and is adding that code to your page. It may also be a condition of your hosting agreement that you DON'T do anything to obstruct the ads, either, so your best bet is to find a new host if you don't want to serve up the ads on your website.

piatkow

2:32 pm on Feb 16, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I see this question regularly on the boards of a hosting service that provides "free" (ie with advertising) hosting. The answer is simple - pay for the upgrade.

KenB

3:34 pm on Feb 16, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As Piatkow said, the best way to eliminate web hosting generated ads is to switch to a web host/package that doesn't put ads on web pages (e.g. pay for decent web hosting).

If you want free web hosting, the company providing you with space/bandwidth for your website needs to generate revenue to pay for the resources consumed by your website some how or another. You can pay your own way or let them put ads on your pages.