CSV文件未在Wordpress上上传 [英] CSV file not uploading on Wordpress

查看:225
本文介绍了CSV文件未在Wordpress上上传的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法在WordPress网站上上传CSV文件

I'm unable to upload CSV file on the WordPress website

error: Sorry, this file type is not permitted for security reasons

检查以下图像: 网站链接

推荐答案

我相信,错误中明确提到了所有内容,并且您也强调了这一点:出于安全原因,不允许使用此文件类型

I believe, everything is clearly mentioned in the error and you highlighted that too : This file type is not permitted for security reasons

要解决此问题,请将此代码添加到wp-config.php

To fix this, add this code in wp-config.php

define('ALLOW_UNFILTERED_UPLOADS', true);

或者您也可以使用名为"WP Add Mime Types"的插件,并仅添加要添加的类型

Or you can also use a Plugin called "WP Add Mime Types", And add ONLY types which you want to be added

这篇关于CSV文件未在Wordpress上上传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆