Support » How-To and Troubleshooting » attachment linked to page results in 404

attachment linked to page results in 404

  • Using the WP2.0 attachment uploader I have uploaded images, but when I choose “linked to page” the links give me a 404 page.

    Links to images work fine.

    Can’t figure out what is happening…

Viewing 6 replies - 1 through 6 (of 6 total)
  • i have the same problem :((

    I just created a topic, and realized, I have the same problem as well.

    Does anyone know how to fix it?

    Bump.. Does anyone know?

    I get this too with WordPress 2.0.7 + Apache/1.3 and permalinks like /%category%/%postname%.

    With this structure, my links to attachment templates look like /category/postname/attachmentname which WordPress seems to parse incorrectly as
    name=[attachmentname]&category_name=[category/postname] (from $wp_query).

    Links to attachment templates for files attached to Pages look like /pagename/attachmentname and they work fine, and if I switch to a permalink structure with no %category% label (like just `/%postname%/), all the attachment links work.

    (Also: I can see that WordPress is making rewrite rules like '.../attachment/*' => index.php?attachment=* but I’ve never seen a pretty permalink with /attachment/ in it.)

    I have this problem with the category in my URLs, too. Can’t there be a fix?

    Same problem here. Please fix this!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘attachment linked to page results in 404’ is closed to new replies.