The site I am working on has some backend scientific tools that reside on another server. We're finally rolling out my Drupal version of the site, which I'll denote as www. In development, the www points to the dev version of the science tools on web9. When we move to production, all the science tool links need to reference web0.
How can I easily move my site from staging into production w/o having to manually change all the links to the scientific tools.
In a programming sense, I would make all my URLs look like and have the code insert the proper SERVER_URL constant variable. However, what would require dropping in PHP code into all my content. I could probably use some jQuery to accomplish this ... but, how would I get the jQuery to change all the URLs on the page, including the menus?
Comments
I admit that I don't really
I admit that I don't really understand what you want to do. Have you looked into apache mod_rewrite and using rewrite rules in either httpd.conf or .htaccess?