Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

My blog had the following permalink structure: /%%postname%%/

Using this, my attachments used to have this url:

http://mysite.com/post-slug/attchament-slug

After upgrading WordPress to the Newest version when I try to set this structure, it auto changes to site/postname/. That's ok since this is the URL I want for my posts, but now the old permalink structure doen't work for the attachments anymore.

So I have a lot of broken links pointing to this urls ( http://mysite.com/post-slug/attachment-slug ). Does anyone now how can I solve this?

Thanks in advance!

share|improve this question
1  
Do you use /%postname%/ or /%%postname%%/? The latter is invalid. – toscho Jan 24 '12 at 0:59
I used /%postname%/. Thks toscho. – brubrant Jan 24 '12 at 21:53
Is there any particular reason for using v3.3 when v3.5 has recently been released? Perhaps 3.4.2 if you're waiting for a 3.5.1? – Tom J Nowell Dec 19 '12 at 12:18
Thanks Tom. This was posted a long time ago. When the latest release was 3.3 – brubrant Dec 20 '12 at 16:45

closed as too localized by toscho Dec 24 '12 at 21:53

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

1 Answer

Looks like there was a problem with WPML (translation plugin). After disabiling it my permalinks got back working again.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.