FORUMS CLOSED DUE TO SPAM. YOU STILL CAN ADD POST!

Changing Domains : How to configure Frog to the new domain?

Feed 3 posts, 2 voices

Avatar
11 posts

HI

Tried changing one of my projects over to a different domain but the links are still referring to the old domain.

Is there a simple method to change over the domain settings when changing the host domain?
I found the old domain referred to in thd DB but no where else?

 
Avatar
1493 posts

Hi Sentux – the config.php file in Frog’s root dir contains these lines:

// The full URL of your Frog CMS install
define('URL_PUBLIC', 'http://www.myfrogsite.com/');

or something like that. Have you updated config.php so that the URL_PUBLIC value is that of the new location?

 
Avatar
11 posts

Hi David

Thanks for the reply.

The config.php was empty so i put in the line of code you suggested but with the correct domain name and headers sent error occurred. I removed the line and got http://www.site.pifilms.co.uk/install/install/install/install/install/install/install/install/install/install/ ???

 
Avatar
1493 posts

The config.php was empty …

You really need the full config.php! If config.php was 0 bytes, then just copy the full file from the original install, and change the necessary values (as in post above).

Here are a couple more threads on moving Frog installs: one | two.