• Background: In short I’ve make an error and I have an external link to https://www.mysite.com/?page_id=7, but the page is not there, show showing up with a 404 error.

    Question: What is the fastest way of getting a page that I can use to appear for this URL?

    Notes:
    * I’ve got access to the DB and see the data via “select ID, post_title, post_name, post_status from wp_gkpfxa_posts;” Could make updates if I could confirm what is required.
    * from db

    mysql> select ID, post_title, post_name, post_parent, post_status from wp_gkpfxa_posts;
    +----+----------------------------------------------+----------------------------------------------+-------------+-------------+
    | ID | post_title                                   | post_name                                    | post_parent | post_status |
    +----+----------------------------------------------+----------------------------------------------+-------------+-------------+
    |  7 | Sample Page                                  | 2-revision-v1                                |           2 | inherit     |

    * This sample page is not showing, so I assume I deleted it initially

Viewing 1 replies (of 1 total)
  • Thread Starter callagga

    (@callagga)

    PS re the parent of the ID=7 it was 2: show the details here is below.

    +----+----------------------------------------------+----------------------------------------------+-------------+-------------+
    | ID | post_title                                   | post_name                                    | post_parent | post_status |
    +----+----------------------------------------------+----------------------------------------------+-------------+-------------+
    |  2 | Sample Page                                  | sample-page                                  |           0 | trash       |
    |  7 | Sample Page                                  | 2-revision-v1                                |           2 | inherit     |
Viewing 1 replies (of 1 total)
  • The topic ‘change pageid or create new page for an old pageid’ is closed to new replies.