0

I don't know why but images uploaded to my site in posts are getting a top level permalink. So if I upload an image into a post called "Apple" then it gets an attachment page at mysite.com/apple and that is a big problem for me. How can add a path between my top level and image attachment page name?

1
  • The question is more like: Why does this happen? Please write a quick plugin for that and update your post, so we can try to debug this in our own installations.
    – kaiser
    Sep 25, 2012 at 1:15

1 Answer 1

0

Don't link to attachment pages anywhere on your site and it won't matter what permalink they have. Search engines only see what you make public.

BTW another thing you can try is to upload only from within the post/page edit screen. That way attachments take up the parent post/page permalink. Sort of like

example.com/post-name/attachment-name.

1
  • what's happenig is Im using a front end post form so user can submit but if they submit a image with a name of someone it takes up that top level url. So when I want to go and make wiki style pages about people they are taken by these images. Feb 12, 2012 at 10:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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