My question is : what could generate a 404 with a correct permalink, a correct .htaccess and only on some kind of pages ???

  • with default permalink, I can display all pages. OK
  • with permalink like %postname%, some pages are working, some others not…
  • pages associated with custom post types generated through a function are well displayed…

  • pages with default post type generate a 404…

Of course, it was working at the beginning… But not now !
I made a big mistake and I already spent days without finding where 🙁

If you have any idea, I will try to investigate.

Thousand thanks for that !

Read more here: 404 not found with good .htaccess and only one some pages


Solution:

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


Wordpress related questions and answers: