Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Data Model Questions /

Stage Version of a Site


Reply


4 Posts   1601 Views

Avatar
Aug

Community Member, 7 Posts

3 January 2010 at 7:00pm

Is there a way to have a site always showing the stage version of a site without logging in?

Avatar
Aug

Community Member, 7 Posts

9 January 2010 at 11:33am

I can not be the only one who has requested this am I?

Avatar
Aug

Community Member, 7 Posts

16 January 2010 at 12:42pm

I did find a way to force the site into stage mode, however it circumvented the need to login. ultimately my solution was to change the .htaccess file to append stage=Stage to every url. A waste of processing, but your staging environment should be low traffic anyhow.

Our stage server is on the same server as the production server. They share a database, and a symbolic link to the assets directory.

Avatar
ajshort

Community Member, 244 Posts

16 January 2010 at 3:29pm

An easier way to do this would be to place "Session::set('currentStage', 'Stage');" in your _config.php file.