[wp-trac] [WordPress Trac] #38180: /blog/ URL handled as /category/blog/ also page to post type convert (was: /blog/ URL handled as /category/blog/)

WordPress Trac noreply at wordpress.org
Fri Sep 30 16:36:08 UTC 2016


#38180: /blog/ URL handled as /category/blog/ also page to post type convert
----------------------------+------------------------------
 Reporter:  internationils  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  General         |     Version:  4.6.1
 Severity:  normal          |  Resolution:
 Keywords:  url category    |     Focuses:  accessibility
----------------------------+------------------------------
Changes (by mukesh27):

 * keywords:  url, category => url category
 * focuses:   => accessibility


Comment:

 @internationils this is bug in WP. if you have post type slug like
 "portfolio" and if you have same name page called "portfolio".

 if we try to call "portfolio" page http://www.siteurl.com/portfolio then
 it shows post type first so we can not see page "portfolio" any way. if we
 want to see "portfolio" page then we have to rename "portfolio" to
 "portfolio-1" then we see page. we know then WP take post type priority
 first then page but this need to resolve any way so user can see both post
 type and page with same slug name.

 there is one solution for this WP need to add unique slug.

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


More information about the wp-trac mailing list