﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
9512	Permalink redirection fails due to conflict with attachments	firebird75	ryan	"Here is a tricky one. I am not 100% sure that this isn't design intent.

So I have changed my permalink structure change from /%category%/%postname%/ to /%postname%/

The redirection of the posts works fine for all posts except when the post contains a picture that has the same name as the post name.

For instance, if I have a post called ""nice car"" which is accessible through the category ""car review"" and that contains an attachment called ""nice car"" :
- before the migration, I can access the post through /car-review/nice-car/
- after the migration, if I access through /car-review/nice-car/, I get an empty post with the picture ""nice-car"" and I am not redirected to /nice-car/ post (new permalink structure).

The picture remains in fact accessible from any directory /toto/nice-car/, /titi/nice-car/, even if it doesn't exist. It isn't a big deal. The issue is rather that it is accesible through an url that will have priority over the redirection to the post because of this.

I understand that this is a special case ;)"	defect (bug)	closed	low		Permalinks	2.7.1	normal	invalid		
