Hello,
I am also a maintainer for the site
Just to add some additional context:
This endpoint:
https://public-api.wordpress.com/rest/v1/sites/vikalpsangam.org/posts/66754/related/
(corresponding to this https://vikalpsangam.org/?p=66574)
returns the following
{
"total": 3122,
"max_score": 1224.21,
"hits": [
{
"_score": 1224.21,
"fields": {
"post_id": 16273,
"blog_id": 185206640
}
},
{
"_score": 389.5459,
"fields": {
"post_id": 65491,
"blog_id": 185206640
}
},
{
"_score": 389.5459,
"fields": {
"post_id": 15298,
"blog_id": 185206640
}
},
{
"_score": 304.49744,
"fields": {
"post_id": 16067,
"blog_id": 185206640
}
},
{
"_score": 304.49744,
"fields": {
"post_id": 66699,
"blog_id": 185206640
}
},
{
"_score": 223.99667,
"fields": {
"post_id": 14909,
"blog_id": 185206640
}
},
{
"_score": 223.99667,
"fields": {
"post_id": 65502,
"blog_id": 185206640
}
},
{
"_score": 218.80615,
"fields": {
"post_id": 15542,
"blog_id": 185206640
}
},
{
"_score": 218.80615,
"fields": {
"post_id": 66180,
"blog_id": 185206640
}
},
{
"_score": 159.543,
"fields": {
"post_id": 66850,
"blog_id": 185206640
}
}
]
}
However, some of these post ids [ 16273, 15298, 16067, 14909, 15542 ] do not exist.
It’s possible that these invalid ids are a residual from when our staging environment was migrated to a live site and that these invalid ids may refer to posts on a now non-existent site.
After scanning a dump of the live site database I verified that these page ids are not present in any form anywhere in the live database at all, so it appears that these invalid ids are perhaps being stored on the wordpress servers (?) and not being deleted. These seem to persist even after manually initiating a full sync (both through the web UI and via the wp cli).
Is my understanding of the data being stored on wordpress servers correct?
And if so, is there some way to remove this invalid data from the site and start from scratch?
As an additional (possibly relevant) note, the jetpack connection does seem to be at least partly functional – new changes made on the live site are reflected in the wordpress.com interface, such as modifying or deleting posts. Also, the wordpress.com interface does list the correct posts in the list itself but the count is wrong – for example see this screenshot:
https://i.imgur.com/pML0ZOG.png
Thanks again