Forum Moderators: open

Message Too Old, No Replies

Auto refresh for domain forwarded sites

Auto refresh for domain forwarded sites

         

welsh_boy

1:00 pm on Dec 14, 2003 (gmt 0)

10+ Year Member



Hi guys, i was just wondering what the best way to solve my problem is.

I have bought a domain that is forwarded to a site on another server.

e.g. www.mydomain.com
point to www.myothersite.com/site1/

my problem is is that when I update the site that the domain is pointing to it doesnt get updated when looking at it from the pointed domain, and if i refresh www.mydomain.com it doesnt refresh the actual site contents.

Is there some code I can place in my html files that automatically refreshes them every time the page is loaded.

cheers

korkus2000

4:08 pm on Dec 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not that I know of. If you were to place history.go(0); in the onload event you would create and infinite loop. I would look into some sort of server side solution.

DCHWeb

2:02 pm on Dec 27, 2003 (gmt 0)

10+ Year Member



I think there is a meta tag you can put in the head of your document. I think it is something like
<meta http-equiv="refresh" content="{NUMBER-OF-SECONDS}">
I think it will also loop for infinity, but I am not sure.