Display SVG Images In Cloud Sites PHP Deployments

  • Last updated on: 2013-12-19
  • Authored by: Bryon Farris

Note: As of Wordpress 3.8, Wordpress employs an SVG logo for the administration page logo, the following fix will also allow this image to properly show.

In order to properly show SVG image types within the Cloud Sites PHP environment, the following line will need to be added to your .htaccess file:

AddType image/svg+xml svg

This will tell the Apache instance the proper MIME type to use when serving requests for SVG style image files.

For a very extensive list of what MIME Type Apache supports, please review: http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types

Note: The following link may not be fully formatted correctly for the .htaccess

Continue the conversation in the Rackspace Community.