Connecting your website to the 10Web dashboard is typically a one-click process once the 10Web Manager is installed and activated. However, in some cases, connection errors may arise. This guide outlines how to resolve these issues.
Permission rights
If your configuration is at default, file uploads should happen directly. However, if you encounter an error during the connection, it may indicate that the 10Web Manager does not have the necessary permissions to create files on your system. Proper folder and file permissions are crucial for WordPress to function correctly. Here are the recommended settings:
- 755 for all folders and sub-folders (allows you to read, write, and execute).
- 644 for all files (allows you to read and write while others can only read).
How to adjust permissions
If you have SFTP/FTP access:
- Connect to your WordPress site using an FTP client like FileZilla or use the File Manager (if your current hosting uses cPanel).
- Navigate to the root folder of your WordPress site.
- Select all folders, right-click, and choose File permissions.
- In the dialog box, set the numeric value to 755, check Recurse into subdirectories, and select Apply to directories only. Click OK.
- Repeat the process for files, setting the numeric value to 644, and select Apply to files only. Click OK.
If this method fails:
- Contact your hosting provider or system administrator for assistance in adjusting permissions.
Once permissions are corrected, attempt to reconnect your site to the 10Web dashboard.
FS_METHOD has incorrect credentials
FS_METHOD is a WordPress constant that controls how WordPress writes to the filesystem. By default, it uses the Direct method, but if your server doesn’t support direct writes, WordPress will switch to FTP/SSH.
If you’ve changed this setting to FTP/SSH, ensure that your credentials are correct. Incorrect credentials will result in errors when connecting your site to the 10Web dashboard.
Steps to resolve FS_METHOD issues:
- Access your wp-config.php file.
- Check the FS_METHOD constant to see if it has been redefined and to which method.
- Update the file credentials if necessary. If you're unsure of the correct credentials, contact your hosting provider for assistance.
Website is unavailable or localhost
The 10Web Manager can only connect to live websites. Ensure the following:
- Your site is not in maintenance mode (either WordPress default or plugin-induced).
- The site is not hosted on localhost. On many computers, localhost is an alias for the IP address 127.0.0.1. You can verify this by using a DNS checker like DNS Checker.
- Your site is not suspended by your current hosting, and the domain name it is pointed to has not expired.
- There are no critical PHP errors making the site inaccessible.
Blocked REST API route
If your site’s REST API route is blocked, this can prevent connection to the 10Web dashboard. Here's how to check and resolve this:
- Use Curl to test the REST route with these commands:
- curl https://yourdomain.com/?rest_route=/tenweb/v1/get_check
- curl -X POST https://yourdomain.com/?rest_route=/tenweb/v1/post_check
- (Replace yourdomain.com with your actual website URL.)
- If the response is {"code":"ok"}, your REST API is functioning correctly.
- If you receive any error code response (e.g., error: rest no route), disable any security plugins, firewalls, or tools that may be blocking or altering the REST API, and try connecting again.
Additionally, contact your hosting provider and request that they whitelist the following IP addresses:
- 52.142.61.111
- 20.98.84.151
- 13.92.59.87
- 52.151.28.87
- 40.117.75.176
- 40.114.115.187
- 13.66.227.49
- 13.90.229.95
- 52.191.187.114
- 172.174.6.22
Should none of the solutions above work, please contact our Customer Care team for focused assistance.