Use a base tag to ease the transition from a development environ to a live server
If you have to develop a site or application on a server that isn’t the target server, you can use a base tag to set the base directory for HTML references. That will allow the vast majority of the code to be URL/domain independent. This is especially important if userdir access is being used. When the site goes live, changing or removing the base tag should ensure the site has valid references in all the links.
To be sure all the development references are removed, use grep.
grep -r development_ref *
Print article | This entry was posted by elvis on 03/14/08 at 02:59:31 pm . Follow any responses to this post through RSS 2.0. |