Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Frontpage & Include Files for Adsense

having trouble with my adsense include files



3:12 pm on Jul 15, 2006 (gmt 0)

10+ Year Member

Each page of my site has an include page for an adsense leaderboard. However, when I change my ad colors or my adsense code within the include file, and then upload the include file nothing changes - the ads are still the original colors.

But if I reupload each of the pages that have the include in them it seems to work (but that sort of defeats the purpose, right?)

Am i missing something here?


3:25 pm on Jul 15, 2006 (gmt 0)

WebmasterWorld Senior Member jimbeetle is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Am i missing something here?

Yeah ;-).

Let's take a look at how FP's include file function works. Unlike server side includes or PHP which process includes on the server at the time of request, Frontpage processes the includes when you save the changed page -- all of the other pages on which the page is included are rewritten to reflect the change. When a request is made, that page is served without any other processing by the server.

Now, what it sounds like is that you're FTPing the changed include file and not using the FP publishing routine. In that case, while the new page is on the server, the other pages haven't been rewritten with the new information.

The easiest way to fix this is to use FP's routine to publish the site. It will automatically make the necessary rewrites.

If you have to use FTP you can do as you did and upload the page, but then you have to go back to Frontpage and open the live website. When open, choose Tools >> Recalculate Hyperlinks. That will run through the pages and update any changes.


10:24 pm on Jul 16, 2006 (gmt 0)

10+ Year Member

Jim - A ton of thanks, that makes sense. You are right, I'm just doing straight FTP so frontpage is screwing it up. I'll lookin into your suggestions.



Featured Threads

Hot Threads This Week

Hot Threads This Month