[wp-trac] [WordPress Trac] #40227: shortlink shows POST instead of PAGE guid

WordPress Trac noreply at wordpress.org
Wed Mar 22 00:02:41 UTC 2017


#40227: shortlink shows POST instead of PAGE guid
--------------------------+------------------------------
 Reporter:  Darko A7      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.7.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by Darko A7):

 Hi dd32,

 Thanks for your reply!

 I have checked my php log and there are 0 notices/warnings etc (and
 enabling WP_DEBUG/WP_DEBUG_LOG naturally also gave me an empty file
 without any issues).

 As posted @ forum, all the fields in database seems to be correct,
 including page's GUID, which is in the form of '''https: / /
 website.com?page_id=xxx'''

 Not sure really why it is no working, and this is the only "page" I have
 for now. It is a standard apache server with auto-generated .htaccess
 file, using predefined permalinks structure (which do work fine, btw). A
 real puzzle :(

 With above modification it works as expected.

 I have also tried to change page's GUID inside database to the form
 '''https: / / website.com?p=xxx''', but it did not work.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40227#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list