Welcome to WebmasterWorld Guest from 184.108.40.206
I have completely re-designed our company web site from a prior-to-my-arrival "legacy" site. The old site was straight HTML, but my new site uses extensive PHP pages.
As I prepare to do a bunch of 301 redirects (the Google-friendly and therefore preferred method of making the switchover), I have a couple of questions:
1. Do I JUST do the legacy .html and .js and (very few) .php pages/files?
2. Do I need to do .pdf (Adobe Acrobat) files?
3. How about graphics (.gif, .jpg, and an odd .eps (downloadable)) files?
4. How about "backup" files (that were re-named to preserve working code while new code was tested?
Thanks in advance for any and all replies! By the way, glad to be here, and more than willing to help anybody with dynamic Web sites!
Welcome to WebmasterWorld [webmasterworld.com]!
You'll need to redirect any resource which is still referred-to by its old URL, and which you have replaced with a new URL.
If you redirect an old page to a new page, and the new page does not refer to any images or scripts by their old URL, then those images and scripts need not be redirected for the new page.
However, if you have renamed an image or script, and intend to continue to support an old page that refers to them by their old URL, then you must redirect those image or script requests. This would apply to old pages cached elsewhere - such as in Google's page archive (Google cache) and in Internet Archiver's archives as well.
It all really depends on what you've done, and to what extent you wish to support your legacy pages.
If you have some time left before the changover, you might consider marking the entire existing site with short-term expires headers, so that your changeover will go quickly. Otherwise, those old pages will consider to exist in network caches until the currently-specified expiry period has passed.