在本地Wamp上设置远程WordPress站点时出现问题,可能是由于以下原因导致的:
解决这些问题的方法如下:
<VirtualHost *:80>
DocumentRoot "C:/wamp/www/your-site"
ServerName your-site.com
<Directory "C:/wamp/www/your-site">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/wamp/www/your-site"
ServerName your-site.com
<Directory "C:/wamp/www/your-site">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
define('DB_NAME', 'your_database_name');
define('DB_USER', 'your_database_user');
define('DB_PASSWORD', 'your_database_password');
define('DB_HOST', 'remote_server_ip');
remote_server_ip your-site.com
腾讯云相关产品和产品介绍链接地址:
请注意,以上仅为腾讯云的产品示例,其他云计算品牌商也提供类似的产品和服务。
领取专属 10元无门槛券
手把手带您无忧上云