Jump to content

Copy live/production to different URL as staging/test site


Go to solution Solved by Nigel Moore,

Recommended Posts

Posted

Hi, I'm trying to copy my live/production site into different URL as staging/test site, and part of test license. Copy all files and database.

I was able to make the admin CP work, but when I go to the frontend/public it redirects me to the live/production site. I change the config_global.php settings to correct variables/settings.

The URL of test/staging is different to live/production.

Using Invision Community v4.5.4.2

--

Thanks

-Allan of Nigel's Team

Posted

Have you rebuilt the cache after the config file change?

also don’t forget to review the file storage settings and last but least, block outgoing emails by either using the debug mailhandler or by using one of the dozen external staging/debug smtp providers to not send any mails from your staging environment to your members 

Posted
Just now, Daniel F said:

Have you rebuilt the cache after the config file change?

also don’t forget to review the file storage settings and last but least, block outgoing emails by either using the debug mailhandler or by using one of the dozen external staging/debug smtp providers to not send any mails from your staging environment to your members 

Hi Daniel,

how do I rebuilt the cache?

storage settings is that in the admin > files > settings right?

also how do I block outgoing emails?

--

thank you

- Allan of Nigel's Team

Posted
2 hours ago, Nigel Moore said:

how do I rebuilt the cache?

You would go to support, then select "clear cache" on the right

2 hours ago, Nigel Moore said:

also how do I block outgoing emails?

You can switch it to debug using the method described here

 

Posted

It should also be added...

If this test install is on the same server as your live site, please make sure you review the file storage settings so they point to the test install and not the live install (as those are physical paths and not tied to the site URL itself).

Posted (edited)
15 hours ago, Marc Stridgen said:

You would go to support, then select "clear cache" on the right

You can switch it to debug using the method described here

 

Hi Marc,

I don't see any "clear cache" in the right side of support page

 

Thanks

- Allan of Nigel's Team

Edited by Nigel Moore
Posted
5 hours ago, Mark H said:

It should also be added...

If this test install is on the same server as your live site, please make sure you review the file storage settings so they point to the test install and not the live install (as those are physical paths and not tied to the site URL itself).

Its different server, but its that normal that the test site will redirect in the live site? The admin works fine, its just the forum/frontend/public page

Thanks

-Allan of Nigel's Team

Posted (edited)

Hello Mark and Marc, its working now, it was one of the plugin that is doing the redirection, thank you for the help 🙂

But I still don't see the "clear cache" though, the IPB version is  4.5.4.2

though yesterday I was battling with the style/icons and css inside the admin CP, now it seems its all working fine, I suspect its due to the cache that was auto clear? 

Is there a way to manually clear it?

Thanks

-Allan of Nigel's Team

Edited by Nigel Moore
Posted

Ah, on that version you will not see clear cache. Its done when you go to System>Support>Support, select "something isnt working correctly" and click next

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...