“File type not permitted for security reasons” error when trying to upload a gpx file

With WordPress 5.0.1 changes in MIME type validations were introduced, which also resulted in GPX uploads failing in Maps Marker Pro v4.0.10 or lower:

Please add the following code to wp-config.php as workaround, which will re-enable the upload of .gpx files:

define('ALLOW_UNFILTERED_UPLOADS', true);

If this does not help on your site, please have a look at other options available from this external tutorial.

The general mime type issue is planned to be solved with WordPress 5.1 (see related tickets #45707 and #40175 for details).

2
0
225
Rate this FAQ answer

Thanks for your feedback, please add a comment to help us improve this post.

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>