Image Help - New Wordpress - Driving Me Nuts

4 replies
This driving me a little crazy.

When you click on an image in articles on my website, instead of opening up a larger version of the image, it opens up a page of the image. You then have to click on the image again to get the larger version.
Cosmoline Removal - Antique Outings

Click on the first image of the Cosmoline can and it opens up this page
Cosmoline - Antique Outings

You then have to click on the image again to see the full image.

In previous versions of wordpress (Have the newest version), when you clicked on an image it would just open up the full image and not open up a secondary page.

What I see happening is Google in indexing some of these images in the main search (Not Image Search), when a person clicks on the link, it takes them to the image instead of the article. This of course is increasing my bounce rate.

Is there a main setting somewhere that allows this to happen?
#driving #image #nuts #wordpress
  • Profile picture of the author Russell Mark
    Here's two options.

    Firstly you could handcode each image link like so:

    HTML Code:
    <a href="/wp-content/uploads/2012/10/image.png"><img src="/wp-content/uploads/2012/10/image.png" alt="image_name" title="Image Name" width="186" height="320" class="aligncenter size-full wp-image-381" /></a>
    OR

    Go to google and search for wordpress disable image attachment page links. You'll find a few plugins and simple php scripts for doing the same automatically for you.

    Good luck!
    {{ DiscussionBoard.errors[7691306].message }}
  • Profile picture of the author Mohsin Rasool
    Originally Posted by EndTheTrendNow View Post

    This driving me a little crazy.

    When you click on an image in articles on my website, instead of opening up a larger version of the image, it opens up a page of the image. You then have to click on the image again to get the larger version.

    Is there a main setting somewhere that allows this to happen?
    Hi,

    Open following page url when you are logged in (it is not listed in Admin panel,
    but is accessible when logged in as admin):

    Yourdomain here .com/wp-admin/options.php

    Scroll down or Ctrl+F5 to find image_default_link_type and select value to file

    Save the page and you are done!

    Mohsin
    {{ DiscussionBoard.errors[7694275].message }}
    • Profile picture of the author EndTheTrendNow
      OK I was able to find the answer.

      If you have Yoast's WordPress SEO installed he has a checkbox under the Permalink Settings that says "Redirect attachment URL's to parent post URL".

      If you do this, even if Google has indexed an image, it will redirect it to the post it was attached to.

      Really really important to do. This should greatly enhance my readership.
      Signature

      Carpe Diem EndTheTrendNow.com
      Check out SEOBloggerBook for SEO tips.
      Check out AntiqueOutings.com for Antique Tips
      Check out MiniatureReview.blogspot.com for Gaming with miniatures.

      {{ DiscussionBoard.errors[7715139].message }}
  • Profile picture of the author EndTheTrendNow
    Doesn't seem to work.

    I have it set to file.

    Here is an example where I have an image in an article

    Swedish Mauser Rifle - Antique Outings

    The actual image is
    http://antiqueoutings.com/wp-content...ing-SA-M96.jpg

    Someone does a google search for "mauser with era markings"

    The link that shows up in Google is

    Swedish Mauser Finish Army Marking SA M96 - Antique OutingsSo instead of going to the actual article, it sends them to a picture. What I have found is my bounce rate has increased since going to the latest WP because links are taking them to pictures instead of the articles.

    I never saw images showing up in a google search, unless I was doing a Google image search. Even then, when you clicked on the image, it would take you to the article.
    Signature

    Carpe Diem EndTheTrendNow.com
    Check out SEOBloggerBook for SEO tips.
    Check out AntiqueOutings.com for Antique Tips
    Check out MiniatureReview.blogspot.com for Gaming with miniatures.

    {{ DiscussionBoard.errors[7715090].message }}

Trending Topics