[wp-trac] [WordPress Trac] #55273: Term permalink accessible with or without taxonomy in URL when /%category%/%postname% in settings

WordPress Trac noreply at wordpress.org
Mon Feb 28 09:09:55 UTC 2022


#55273: Term permalink accessible with or without taxonomy in URL when
/%category%/%postname% in settings
---------------------------+-----------------------------
 Reporter:  laurentfrom47  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Permalinks     |    Version:  5.9.1
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 I'm using "/%category%/%postname%" as custom permalink for posts.

 With this setting term URL is accessible with or without taxonomy in URL,
 for example :

 https://www.website.com/category/cars >> OK

 https://www.website.com/cars >> OK also and that is the problem it should
 be a **404**

 Thanks.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55273>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list