[wp-trac] [WordPress Trac] #37435: Conflicting permalinks with attachment and category of same name
WordPress Trac
noreply at wordpress.org
Thu Jul 21 18:58:57 UTC 2016
#37435: Conflicting permalinks with attachment and category of same name
----------------------------+-----------------------------
Reporter: Spidergirl1979 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 4.5.3
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
On my company site, I created a category called '''Announcements''' and
uploaded an image called '''Announcements.png''' Both had permalinks of
http://MYDOMAIN/announcements When I tried to navigate to
http://MYDOMAIN/announcements I was expecting to see a listing of all the
posts in that category, but instead the site was showing the image.
I tried with different themes, deactivated all plugins but the issue
remained. At the time I didn't realize there was an attachment with the
same name as my category. Once I figured that out, I simply changed the
attachment name and updated the permalink and everything worked properly.
I have a custom permalink structure: '''/%category%/%postname%''' Category
Base '''.''' and Tag base of '''keyword'''
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37435>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list