I'm trying to come up with a good / easy way to go from the testing environment to a production by using php's define. This is pretty simple, I know, but it becomes more complicated when you add SSL and trying to keep URLs explicitly https, so you don't get any nasty warnings. The problem I seem to have is that all the links point to the live server, not the test one. I am planning to define a web root constant for the entire site and will change that once I go live with the changes from the test to the live site. But, before I change all those links, does anyone know a better way to do it?
Hmmm. What would John Marc do?


 LinkBack URL
 LinkBack URL About LinkBacks
 About LinkBacks 
  
  Testing to Production
 Testing to Production
		 
  Reply With Quote
  Reply With Quote Originally Posted by charlesh
 Originally Posted by charlesh 
 
 
 
 