How do you get svg images to appear? I've added the following .htacess file to my root folder:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress AddType image/svg+xml svg AddType image/svg+xml svgz AddEncoding x-gzip .svgz # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
I also tried creating a web.config file with custom MIME types, but with that file, I received an error message when I viewed the web page.
For a few weeks, I've been trying to get my svg images with no success.
Solved! Go to Solution.
I meant to write, "For a few weeks now, I've been trying to get my svg images to appear with no success."
Same problem.