When attempting to publish a website from the Weebly website builder, you might encounter an error message indicating a publishing issue. This error usually occurs when Weebly is unable to connect to the server via FTP to upload the website files. Below is an example of this error:
Oops!
There was an error publishing your site. The publishing credentials are not valid.
Please contact support.
Follow the steps below to troubleshoot and resolve this issue.
Understanding the Issue
This error typically means that the FTP credentials Weebly is using are either incorrect or incompatible with the server's FTP requirements. Notably, Weebly publishing only supports plain FTP, while many servers, for security purposes, require FTP over TLS (FTPS) or SFTP.
Steps to Resolve the Error
- Verify FTP Credentials: In the WHMCS Admin Area, navigate to the product or add-on details of the affected Weebly service. Ensure the following fields are correct:
- FTP Host
- FTP Username
- FTP Password
- FTP Path
- Update FTP Protocol (if applicable): If your server requires FTPS or SFTP, consider configuring an exception or using a plain FTP connection for publishing. Alternatively, consult your hosting provider to enable a temporary plain FTP for Weebly publishing.
- Save and Update: Once the FTP details are verified and configured correctly, click Save Changes in WHMCS, then click Update FTP Publishing Credentials to push these updates to Weebly.
- Test Publishing: After updating, attempt to publish the website again from the Weebly builder to confirm that the connection issue is resolved.
Best Practices
- By default, our systems use SFTP (Port 22). But confirm with our hosting support team (or your hosting provider) whether temporary plain FTP can be enabled if FTPS or SFTP is required.
- Ensure all entered credentials match the hosting account's FTP settings precisely to prevent connection issues.