Click here to register.
      
Sprechen Sie WebGUI? Parlez vous WebGUI? Se habla WebGUI? Spreekt u WebGUI?

Do you speak WebGUI? Please help us translate WebGUI into your language.



     Web Design, Templates, and Themes > Duplicate web site

Duplicate web site

User techwriter
Date 7/14/2008 9:06 am
Views 910
Rating 1    Rate [
|
]
Previous · Next
User Message
techwriter

Greetings,

I've been given the task to rework our website, and I had the idea to create a duplicate version of the site that would be invisible to our clients by setting all access privileges to Admin. I would make all the changes to the site in the duplicate, configure the access privileges, then make it the active site.

My issue is as follows. How do I make it the active site. Right now, no matter what I do, the login always leads to the old site.

Thanks for any help you can provide.
Techwriter

--- (Edited on 7/14/2008 9:06 am [GMT-0500] by techwriter) ---



Back to Top
Rate [
|
]
 
 
dionak

I think you would find it a lot easier to refactor an entire site by creating a new development site, exporting/importing the database and copying over the uploads from /data/domains/<domain_name>/public/uploads to your new dev site.

This would make it a lot easier because your development is completely separate, all operations and functions of the site would work and you could do a full release once you're done.

To release, you could just put up a maintenance page, archive the current version of your site, remove and copy over the uploads (/data/domains/<domain_name>/public/uploads) and export/import the database. You will want to change settings either before or after the export/import of the database. I've done it both ways without issue.

Once you're happy, pull down the maintenance page and test. Additionally, you could use a staging site instance to test the release process before doing it on production.

Kind regards,

Diona

----
Knowmad Technologies
http://www.knowmad.com

--- (Edited on 7/14/2008 7:30 pm [GMT-0500] by dionak) ---



Back to Top
Rate [
|
]
 
 
techwriter

I think you would find it a lot easier to refactor an entire site by creating a new development site, exporting/importing the database and copying over the uploads from /data/domains/<domain_name>/public/uploads to your new dev site.



Thanks for the tips. Here is how I break down the tasks you suggested:

  1. create a new development site.
  2. export/import the database
  3. copy over the uploads from /data/domains/<domain_name>/public/uploads  to the new dev site

My question is, can you do all of these tasks using the Web GUI interface? IT has their claws on the server, and the program files, so I would need to make a convincing case to get access to them.

This would make it a lot easier because your development is completely separate, all operations and functions of the site would work and you could do a full release once you're done.

Could I do this on the same server using the same Web GUI program installation as the existing site?

To release, you could just put up a maintenance page,

I do this by creating a regular page layout with /Home as the URL?

archive the current version of your site,


How is this done in Web GUI?

remove and copy over the uploads (/data/domains/<domain_name>/public/uploads) and export/import the database.

It seems to me that I would need two versions of Web GUI running in order to do this, correct?

You will want to change settings either before or after the export/import of the database. I've done it both ways without issue.

What settings are you refferring to?

Once you're happy, pull down the maintenance page and test. Additionally, you could use a staging site instance to test the release process before doing it on production.

Kind regards,

Diona

Easier is a relative term. Embarassed

Would you happen to know how to change the /Home pages, so that the Login page links to the new site? 

--- (Edited on 7/15/2008 8:09 am [GMT-0500] by techwriter) ---



Back to Top
Rate [
|
]
 
 
techwriter

I humbly ask for aid.

Here is the issue as simply as I can put it. In the Asset screen, I have the following

  Rank
  -1      Edit|More +Import Node 
  -2      Edit|More +Welcome to my website
  -3      Edit|More +Welcome to my website (Duplicate)

How to I make it so that when the user logs in he goes to the Duplicate website, making it the live site?

Cheers,

--- (Edited on 7/16/2008 9:07 am [GMT-0500] by techwriter) ---



Back to Top
Rate [
|
]
 
 
bartjol

you can edit the login template (admin console->settings->authentication->login template), placing a link around the submit button:

<td class="tableData"><a href="url of your duplicate site"><tmpl_var login.form.submit></a></td>

make sure that you use a copy of the template and edit the copy instead of editing the original

--- (Edited on 7/20/2008 8:21 pm [GMT+0200] by bartjol) ---



Back to Top
Rate [
|
]
 
 
techwriter

you can edit the login template (admin console->settings->authentication->login template), placing a link around the submit button:

<td class="tableData"><a href="url of your duplicate site"><tmpl_var login.form.submit></a></td>

make sure that you use a copy of the template and edit the copy instead of editing the original

--- (Edited on 7/20/2008 8:21 pm [GMT+0200] by bartjol) ---

I just tested your tip, and it worked like a charm. Thanks so much for your help! Laughing Now I have the fun task of porting over all the permissions. Cry

Cheers,

--- (Edited on 7/22/2008 10:47 am [GMT-0500] by techwriter) ---



Back to Top
Rate [
|
]
 
 

Re: Overriding inbox emails by patspam - Sat @ 12:05am

Re: WRE install on Ubuntu by SteveD - Fri @ 06:19pm

Re: Advanced Search template by perlDreamer - Fri @ 05:17pm

Perl Certified Hosting by cosmicperl - Fri @ 04:30pm

Advanced Search template by knowmad - Fri @ 03:02pm

Re: modperl consuming all resources by pvanthony - Fri @ 01:12pm

Re: WRE install on Ubuntu by knowmad - Fri @ 01:09pm

Re: Glad to be here by knowmad - Fri @ 01:03pm

Reply to Rogier by perlDreamer - Fri @ 10:55am

OReilly by Albert2 - Fri @ 09:09am

Glad to be here by patspam - Fri @ 01:59am

Re: WRE install on Ubuntu by SteveD - Fri @ 01:56am

Smoketest For nightly_2008-09-05 by Visitor - Fri @ 01:46am

Re: WRE install on Ubuntu by knowmad - Thu @ 07:37pm

Re: New Default Templates: community input by patspam - Thu @ 06:22pm