WordPress: Upload Blocked File Extensions Without a Plugin

This is not for a novice, you should have a little experience in PHP and know what the .htaccess file does. If you are new and want to edit these files make sure to create a backup file in case you bring down your WordPress site.

It took me an hour to figure this out, I do not like to overload WordPress with plugins for things I can do myself.

To many plugins can slow your system, open security holes and add external links to places you do not want your visitors to visit. Hopefully you found my post before wasting an hour of your time to come to the same solution.

I recently wanted to share additional files beside the basic extensions that WordPress allows you to use, i.e.  doc, jpg, mpg… I tried editing my .htacess file a few time with no results. Then I found a post that referenced the “wp-includes/funtions.php”. From the functions.php I made 2 changes in the same file.

  1. ,  'vsd' ),WordPress Funtions.php file

 

  1.            'vsd' => 'application/msvisio',functions.php

That is all I had to do to upload visio files with the “vsd” extension.

If it does not work for you, try adding access through the root .htaccess file as well.

# additional mimetypes
    AddType application/visio .vsd
    AddType application/x-visio .vsd
    AddType application/vnd.visio .vsd
    AddType application/visio.drawing .vsd
    AddType application/vsd .vsd
    AddType application/x-vsd .vsd
    AddType image/x-vsd .vsd

Good luck,

Adam M. Erickson

Develope a Web Based CMS Using PHP

Download this File Here

Abstract
The Content Management System (CMS) is a web based application using a Linux Server,
Apache Web-server, MySQL Database, and PHP Programming Language (LAMP). The
objective of managing users, and information in any given network environment can only be
hindered by the creativity of an information technology professional and not by technology. The
main objective of this thesis is to develop the early development steps of a LAMP software bundleCMS. By creating the
building blocks for developing, and taking into consideration basic methods for creating the core
platform of a CMS for further development. All information gathered, and experience gained will
assist with developing and offering my own personal e-commerce business solutions in the future
and to obtain additional business and practical knowledge in an open source software and ecommerce.
Continue reading