昨天我们的备案掉了,今天我们迁移到海外的服务器。我们全站打包了文件迁移,但是在新服务器上tar解包之后出现了500错误。下面我们罗列一下出现500错误的原因。
wp-config.php 文件不可读
没错,如果配置文件不可读也会导致500错误。
插件错误
由于一些插件迁移之后,文件位置发生变化的话也会导致错误。最好是在迁移之后将plugins
文件夹重命名。
');mask-image:url('data:image/svg+xml;utf8,');mask-mode:alpha;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;border-radius:0}}.wp-block-image :where(.has-border-color){border-style:solid}.wp-block-image :where([style*=border-top-color]){border-top-style:solid}.wp-block-image :where([style*=border-right-color]){border-right-style:solid}.wp-block-image :where([style*=border-bottom-color]){border-bottom-style:solid}.wp-block-image :where([style*=border-left-color]){border-left-style:solid}.wp-block-image :where([style*=border-width]){border-style:solid}.wp-block-image :where([style*=border-top-width]){border-top-style:solid}.wp-block-image :where([style*=border-right-width]){border-right-style:solid}.wp-block-image :where([style*=border-bottom-width]){border-bottom-style:solid}.wp-block-image :where([style*=border-left-width]){border-left-style:solid}.wp-block-image figure{margin:0}/*]]>*/
昨天我们的备案掉了,今天我们迁移到海外的服务器。我们全站打包了文件迁移,但是在新服务器上tar解包之后出现了500错误。下面我们罗列一下出现500错误的原因。
没错,如果配置文件不可读也会导致500错误。
由于一些插件迁移之后,文件位置发生变化的话也会导致错误。最好是在迁移之后将plugins
文件夹重命名。
作者:
标签