Jump to content

Recommended Posts

Posted

I'm going to do the porting to a new server for a site with processwire.

I wanted to know if I need to update the "userAuthSalt" in config.php and, if necessary, obtaining a new userAuthSalt.

Thank u.

Posted

This is pretty much explained above the config option: "Must be retained if you migrate your site from one server to another". Don't touch it and you should be just fine :)

  • Like 1
  • 1 year later...
Posted

what if i wanted to copy a complete site to eg site-copy for a multisite setup... would i have to change the value for userAuthSalt or is it ok to have the same value in multiple site instances?

Posted

It will work if you leave it but it makes everything more insecure. Why not exporting as a site profile and creating the new page with this profile?

Posted

Yes that's what i thought and why i dont want it left unchanged.

Why not by site profile? Because i dont know how to do that programmatically ;)

Posted

Super easy. One module, two clicks: http://modules.processwire.com/modules/process-export-profile/

And after you exported it just put it next to the other site-profiles in the folder of a new processwire installation. And while you're installing you can choose your profile :)


More information: https://processwire.com/blog/posts/new-site-profiles-exporter-for-2.5/#new-site-profile-exporter-is-far-better-than-the-previous

  • Like 1

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
×
×
  • Create New...