2016-11-20, 16:46:14
No, like this:
This creates a PHP constant named OLDSITEURL that contains the old site url (that will be replaced by the new one when viewing or editing a page)
You don't need to specify the new site url - it's stored in GS website settings.
Code:
define('OLDSITEURL','http://mydomain.com/oldfolder/');
This creates a PHP constant named OLDSITEURL that contains the old site url (that will be replaced by the new one when viewing or editing a page)
You don't need to specify the new site url - it's stored in GS website settings.