Jump to content

Movement Within Domain


physeK
 Share

Recommended Posts

Hey all!

Wondering if I'm going to need to worry about something or not. I've seen the article about moving PW around, plus some responses about porting things from local to dev... But I'm curious about moving it within a domain.

I've got a folder set up right now (www.[domain].com/processwire) which is what I'm essentially using as my "local" testing environment. Eventually I'd like for it to just be at www.[domain].com – same database, same everything, just moving everything up one folder.

Is this something I'll need to go through a process for, or will it be ok to just drag things up a level in FileZilla?

Thanks! :)

Link to comment
Share on other sites

Hello and welcome.

You dont have to worry about anything. Just drag things as you say in your favorites software (just my 2 cents, I prefer to use sFTP for security reasons) to upload your files.

You just have to check your .htaccess file if for some reason you move into a subfolder or something. Second point, in site/config.php, add your host to the whitelist and you're done.

/**
* Installer: HTTP Hosts Whitelist
* 
*/
$config->httpHosts = array('www.domain.foo', 'localhost');
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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