• When i copy new pages into the wp-post table, it won’t be shown in the wordpress backend. I deploy the database from development to production and the entities are in the wp-post table, but not in the backend (list of pages). Is there a routine that scans the entries in the wp-page? what can be wrong? I am sure it worked before but since 2020 it stoped and i have to use workarounds to get the new pages shown in the page list.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Pages are explicitly in the rewrite rules, and when you edit a Page, this is handled automatically. But if you simply change the database, that code is bypassed.
    You can do it manually by going to Settings > Permalinks and clicking on Save.
    You might have to incorporate a flush of the rewrite rules into your deployment strategy if you bypass WP.

    Thread Starter mrkl

    (@he2014)

    Thank you Joy!
    I will have a closer look at the ability to flush the rewrite rules.
    Maybe i try to call: flush_rewrite_rules()

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘new pages are not shown but in the db’ is closed to new replies.