Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • bwc24jt Friend
    #150421

    The site we’re doing is being developed one level below the root cause the client’s current site is on the root. We are doing ours at http://www.domain.com/new_site

    Once its completed I’ll be removing their old site and want to move the new site up to the root. Is that possible and will it work after its moved?

    bennitos Friend
    #340601

    Yes thats posible, and in my eyes its also the best way.

    After your site is done and you move it to the location you want you only have to open your configuration.php file and change the filepaths in there.

    Only a couple minute job 🙂

    bwc24jt Friend
    #340956

    I checked the config file and I only see these two lines

    var $log_path = ‘/home/content/d/g/r/dgrammer/html/new_site/logs’;
    var $tmp_path = ‘/home/content/d/g/r/dgrammer/html/new_site/tmp’;

    Is this all that has to be changed cause I don’t see anything else?

    If so when I move it back up to the root they will look like this

    var $log_path = ‘/home/content/d/g/r/dgrammer/html/logs’;
    var $tmp_path = ‘/home/content/d/g/r/dgrammer/html/tmp’;

    <em>@bennitos 174878 wrote:</em><blockquote>Yes thats posible, and in my eyes its also the best way.

    After your site is done and you move it to the location you want you only have to open your configuration.php file and change the filepaths in there.

    Only a couple minute job :)</blockquote>

    bennitos Friend
    #340958

    Yes you are correct.

    Sometimes you also have to change the “live site”

    After you move do a quick check to see if you have any broken hyperlinks that still point to the old location.

    Instead of completely removing the old site it might be wise to move those file to a old_site folder, so you can always revert back or visit it later. When all is good remove it later.

    bwc24jt Friend
    #340965

    The live site path now says

    var $live_site = ”;

    What else could it possible be?

    <em>@bennitos 175326 wrote:</em><blockquote>Yes you are correct.

    Sometimes you also have to change the “live site”

    After you move do a quick check to see if you have any broken hyperlinks that still point to the old location.

    Instead of completely removing the old site it might be wise to move those file to a old_site folder, so you can always revert back or visit it later. When all is good remove it later.</blockquote>

    bennitos Friend
    #340980

    The Live Site is not always required. Joomla normaly detects your root folder so everything works correctly. For when that does not work like it should (usually noticed with SEF failing) then you can use this option for manually give up your root folder.

    bwc24jt Friend
    #340986

    so don’t change that statement at all in the config, leave it as is?

    <em>@bennitos 175350 wrote:</em><blockquote>The Live Site is not always required. Joomla normaly detects your root folder so everything works correctly. For when that does not work like it should (usually noticed with SEF failing) then you can use this option for manually give up your root folder.</blockquote>

    bennitos Friend
    #340988

    Yeah just leave it as it is.

    bwc24jt Friend
    #340992

    <em>@bennitos 175358 wrote:</em><blockquote>Yeah just leave it as it is.</blockquote>

    Ok, thanks.

    lamvt Friend
    #340994

    Just changes configurations file

    var $log_path = '/home/content/d/g/r/dgrammer/html/new_site/logs';
    var $tmp_path = '/home/content/d/g/r/dgrammer/html/new_site/tmp';

    TO:

    var $log_path = '/home/content/d/g/r/dgrammer/html/logs';
    var $tmp_path = '/home/content/d/g/r/dgrammer/html/tmp';

    OR

    var $log_path = '/logs';
    var $tmp_path = '/tmp';

    and My Ideas:
    If you have Dev folder liek that:
    http://www.yourlivesite.com
    http://www.youlivesite.com/new_site
    when you Installations New_site, remmeber to creat new databse too, so when you to changes on new_site, dont affect to yourlivesite.com
    and when you moved to changes database name too.
    This way, you have 2 independent websites
    GoodLUCK

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 3 voices, and was last updated by  lamvt 14 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum