How to auto-update a website mirror with exceptions to certain pages?
- by tomatosalad
I'm currently mirroring a website on my server. The site itself is rarely updated, but it is updated enough that info can become outdated quickly.
I mirrored it first with wget, and this worked fine, but I made some changes:
The original index.html used frames, but the site also provides a main.html which is essentially index.html but without frames. I deleted index.html and renamed main.html.
I did not want to mirror the webchat, blog or forum, so I deleted those files and directories and made directories "blogs" "forum" and "chat" and placed a php redirect in each of those, redirecting visitors to the orignal site.
I'd like to auto-update the mirror (maybe once every 24-72 hours), but preserve the changes I made. Is this possible? How would I go about doing it? I am completely clueless as to how.
Thanks for any and all help! :)