Wordpress SEO - What are you looking for?

If you're looking for answers to SEO or wordpress related questions, type in a phrase and wait for hints or click enter! The results also show links to external sources.

161 articles in the database

PDF support in WordPress media

[ Article content is protected by Plagiashield ]

WordPress supports three basic types of media by default: image, audio and video. If necessary, we can extend its functionality and PDF files.

Paste the following code into our functions.php

pdf_post_mime_types( $post_mime_types ) {
$post_mime_types['application/pdf'] = array( __( 'PDF' ), __( 'Manage PDF' ), _n_noop( 'PDF (%s)', 'PDFy (%s)' ) );
return $post_mime_types;
add_filter( 'post_mime_types', 'pdf_post_mime_types' );

In the media library, the PDFs tab will be added

Instead of pdf files can be use also:

  • FLASH files (.swf) => 'application/x-shockwave-flash',
  • Quicktime Files (.mov) => 'video/quicktime',
  • JavaScript files (.js) => 'application/javascript',
  • Video files (.avi) => 'video/avi',
  • Video divix files => 'video/divx',
Wojciech Wladzinski

O Wojciech Wladzinski

I have been dealing with SEO industry since 2008. At co day senior SEO specialist in the company Seogroup. I create and optimize large websites like and smaller websites Internet. I'm particularly fond of the WordPress environment, which, despite popular belief, is not just a blogging platform.
  • Internal Links and Sematics

  • Link building
  • Sematics
  • Link building has never been easier. Hundreds of link possibilities in one click.
  • See

[ Article content is protected by Plagiashield ]

SEMRush - the best tool for SEO and PPC.

Read previous post:
Using multiple analytics codes on a page

Did you happen to harness two tracking codes to your site? I have. Today I am going to show you how to...