When you ’re trying to upload train to your WordPress Media library, there are chances you might get the Fix Error in WordPress “ Sorry, you aren’t allow to upload this train type. ” You generally get this communication, when you upload the train with a different extension than what’s allowed in WordPress.
In WordPress, the train types allowed are
Images Extension Supported. jpeg,. jpg,. png,. gif,. ico
- Documents Extension Supported. pdf,. psd,. xlsx,. odt,. ppsx,. pps,. pptx,. docx,. croaker
- Audio Extension Supported. mp3,. wav,. ogg
- videotape Extension Supported. mp4,. wmv,. ogv,.3 g2,. avi, m4v, 3gp
still, also you’ll get an Fix Error in WordPress communication saying, “ “ Sorry, If you enter extensions besides this.
” For allowing the upload, go to Site Tools> Site> train director and thenedit thewp-config.php train for your WordPresssite.This is set up in the public html brochure.
Now, above the line, “ That’s all, stop editing! Happy publishing, ’ fit the command given below
Save all the changes to your train and you need to be suitable to upload the asked train from your WordPress wp- admin> Media> Add New.
Conclusion
for security purpose, it’s suggest to remove that new line you add in the wp- config, php after uploading the givenfiles. However, you can add the line again. If latterly you need to upload further.