Websites
Manage websites.
List all websites
List all websites hosted on the server:
bash
opencli websites-allList websites for user
List all websites owned by user:
bash
opencli websites-user <USERNAME>Add websites for user
Scan user files and add WordPress installations:
bash
opencli websites-scan <USERNAME>use -all flag to run for all users:
bash
opencli websites-scan -allPageSpeed
Get Google PageSpeed data for a single website:
bash
opencli websites-pagespeed <WEBSITE>Example:
bash
opencli websites-pagespeed pejcic.rs/blogGet Google PageSpeed data for all websites hosted on server:
bash
opencli websites-pagespeed -allNote:
Since version 1.2.2, users can provide their own PageSpeed API key by creating a file namedpagespeed_api_key.txtin their home directory at/var/www/html/.Administrators can also set a system-wide API key by creating the file
/etc/openpanel/openpanel/service/pagespeed.apiand placing the key inside.