Applicable Products:
- WordPress
- Container Station
- QTS 5.0 or later
After QTS 5.0, WordPress runs and depends upon Container Station and the configuration files of WordPress are no longer visible in Web folder. The configuration files are moved to a system folder, you can locate the folder path of WordPress files and access the files as follows.
- SSH access the NAS
- Use the command echo "
getcfg WordPress Install_Path -f /etc/config/qpkg.conf
/data/web/WordPress" to get the folder path.
(For example: the configuration files are located in /share/CACHEDEV1_DATA/.qpkg/WordPress/data/web/WordPress) - Access the files using WinSCP through the folder path.
Furthermore, you can manually map WordPress folder in Shared Folder setting then edit/upload those files using File Station:
Log in to QTS as an administrator
Go to Control Panel > Privilege > Shared Folders
-
Select Create > Shared Folder.
- Choose Disk Volume (for example: DataVol1 )
- Select Enter path manually
- Click the dropdown menu and locate WordPress folder (for example: /.qpkg/WordPress/data/web/WordPress )
- Enter the Folder Name.(for example: WordPress)
- Select “Create”.
getcfg WordPress Install_Path -f /etc/config/qpkg.conf
cd /share/CACHEDEV1_DATA/.qpkg/WordPress/data/web/WordPress
sudo vi .htaccess
自己学下VI怎么用,文件末尾插入如下设置
php_value upload_max_filesize 2048M
php_value post_max_size 2048M
php_value memory_limit 2560M
php_value max_execution_time 3000
php_value max_input_time 3000