I am using WordPress and I've got a PDF along with a Word document on my small server, both documents are actually outdated but they are highly rated on the internet.

Can you really make use of a 301 redirect on the document? I have tried personally 301 redirects previously to suggest old Web addresses to new a person's but haven't run into this case of utilizing it having a document.

I am not really sure it's allowable to get this done. Otherwise any suggestions how I ought to build a storage shed problem?


Redirect 301 /old.doc http://www.example.com/
Redirect 301 /old.pdf http://www.example.com/

I personally use the next for any WordPress blog I done

RedirectMatch 301 /old\.pdf(.*) http://www.example.com/$1
Ridirect 301 /wp-content/uploads/2010/10/oldfile.pdf http://example.com/sub-directory/newfile.pdf