Custom “Page not found ” is working on regular pages , if pages does not exist.

I test by manually typing wrong url and it works.

But i have some pdf files . The url will end in “.pdf” and if file does not exist it is giving a 404 error , not custom page .

Is there any different setting for pdf pages ?

i believe rewrite rule for page not found is correct in .htaccess. I want to know what special about the PDF file . Did Anybody had this issue??

Read more here: WordPress - Custom error page is not working for pdf


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , , ,

Wordpress related questions and answers: