shows POST url form instead for PAGE
-
Hi,
I have noticed that my static / custom page created inside WordPress > Pages has wrong shortlink form – for example:<link rel='shortlink' href='https://mywebsite.com/?p=995' />
when it should be (for page):
<link rel='shortlink' href='https://mywebsite.com/?page_id=995' />
I have checked database, post_type is properly set to page, and GUID is properly formed as above (with page_id). First one, naturally, returns 404 page not found error.
Now, is this some bug in WordPress or something else is wrong here?
It is not generated by my theme, but by WP core, so definitely cannot fix it outside, unless I remove all the shortlinks.Any help?
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘shows POST url form instead for PAGE’ is closed to new replies.