-
AuthorPosts
-
April 16, 2010 at 4:35 pm #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 Friendbennitos
- Join date:
- May 2008
- Posts:
- 1717
- Downloads:
- 0
- Uploads:
- 39
- Thanks:
- 39
- Thanked:
- 474 times in 407 posts
April 16, 2010 at 5:37 pm #340601Yes 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 🙂
1 user says Thank You to bennitos for this useful post
April 20, 2010 at 1:42 pm #340956I 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 Friendbennitos
- Join date:
- May 2008
- Posts:
- 1717
- Downloads:
- 0
- Uploads:
- 39
- Thanks:
- 39
- Thanked:
- 474 times in 407 posts
April 20, 2010 at 1:59 pm #340958Yes 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.
April 20, 2010 at 2:38 pm #340965The 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 Friendbennitos
- Join date:
- May 2008
- Posts:
- 1717
- Downloads:
- 0
- Uploads:
- 39
- Thanks:
- 39
- Thanked:
- 474 times in 407 posts
April 20, 2010 at 4:31 pm #340980The 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.
April 20, 2010 at 4:48 pm #340986so 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 Friendbennitos
- Join date:
- May 2008
- Posts:
- 1717
- Downloads:
- 0
- Uploads:
- 39
- Thanks:
- 39
- Thanked:
- 474 times in 407 posts
April 20, 2010 at 4:57 pm #340988Yeah just leave it as it is.
April 20, 2010 at 5:01 pm #340992<em>@bennitos 175358 wrote:</em><blockquote>Yeah just leave it as it is.</blockquote>
Ok, thanks.
lamvt Friendlamvt
- Join date:
- December 2006
- Posts:
- 265
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 52 times in 46 posts
April 20, 2010 at 5:06 pm #340994Just 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 -
AuthorPosts
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