_Roy_ Posted 5 hours ago Posted 5 hours ago I am about to put my first ProcessWire-powered website onto a live server, and I was searching the website and forum on how to do this. Maybe I used the wrong search-terms, but I did not find anything on how this should be done. I can obviously just throw all the files on the server through FTP, and put the database in place using PhpMyAdmin. Then change the DB-credentials in config.php and I think it should work, but I don't know what the recommended way is to push a website from your local/dev-environment to a live webserver.
Peter Knight Posted 2 hours ago Posted 2 hours ago I usually do this and it simplifies things if your local and remote credentials are the same. 1. Turn on errors on your congig to make trouble shooting easier 2. Zip up all your local files and ensure to get your htaccess too 3 export local database and import onto remote plesk server or whatever you’re usng 4. Set up remote database credentials 5. unzip remote files from that point onwards I might have some htaccess issues or I might need to look at site logs etc but most of the time it goes smoothly enough you’re installing onto a blank site right? if there is an existing site there that you didn’t create ensure to rename the index.html page
_Roy_ Posted 2 hours ago Author Posted 2 hours ago Yes, it is a completely new hosting-package. The error-reporting is a good idea! 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now