Comment on Stallion WordPress Theme Featured Image and Auto Thumbnails by Erik.

Stallion WordPress Theme Featured Image and Auto ThumbnailsSorry to jump back on the topic, but just to follow up I’ve been digging for a little more info. I don’t know a lot SEO-wise but I guess logic would dictate that links from every post to a bunch of image pages with practically no content would not be good for SEO.

I have also found the same stated on some other sites and have seen a couple of solutions suggested. One is the following simple-seeming redirect solution via an image.php file:

Disable Image Attachment Page Links via a Redirect to Parent

Create a new file named image.php on your desktop
Open image.php with a text editor, and paste the following into it

<?php wp_redirect(get_permalink($post->post_parent)); ?>

Using an FTP client, navigate to your theme folder (wp-content/themes/themename)
Copy the image.php file from your desktop into your theme folder

(found here: http://www.lancelhoff.com/wordpress-disable-image-attachment-page-links/)

I have also read that simply redirecting image attachments back to the parent page via a plugin will also do the trick. I know there are some plugins that handle attachment redirection like Robots Meta but I think you don’t recommend using that one. I tested Robots Meta and it does seem to work, but I’d rather follow the lightest most SEO-friendly solution, especially since I’ve got a couple thousand of these image pages floating around out there.

I am running the Stallion WordPress SEO plugin but don’t see a section that handles images. I thought maybe Stallion has a built-in way to handle this that I’m not aware of. Maybe you know the best way to handle this in terms of SEO?

Anyway, I hope I am right in assuming that this arrangement can hurt you in Google (recently I think my search traffic got dinged a bit by a Panda update–the first time ever for me I believe–so wondering if this isn’t the reason).

Like I said, I had “Post URL” set as the default WP setting and every image I loaded was getting its own image page (WordPress seems to remember the last image url upload setting you were using and applies it to all the following image uploads unless changed).

I wonder if I am the only one, but I imagine that there are others that might not be paying attention to this setting and being similarly impacted via the creation of unnecessary image attachment pages.

Thanks,

Erik

More Comments by Erik

WordPress SEO Theme Layout Thanks Dave, I think I figured out what I did. I think it was because I removed the thick grey image border when I was originally customizing the CSS.

I went into the css color layout I am using …

WordPress SEO Theme Layout Posted image width condensed Hi Dave, just a quick question on images. I have noticed recently that when I upload a 540px image, the display width is inevitably crunched (for instance, down to 530 or even 506 pixels in a couple of recent …

WordPress SEO Duplicate Content Using category pages to distribute deep link benefit Excellent answer Dave. I have begun reducing tag pages.

I think part of my problem is that I have only 8 categories, and 1200+ posts.
The smallest category contains 40 posts, while the largest, very generic category …

WordPress SEO Duplicate Content Reducing tags – Page Rank Distribution Thanks Dave, I know you’ve covered this before. A few of my tag pages actually rank quite highly for fairly important keywords, but as you say most do not. Collectively the bring about 3% of visits. You are …

Stallion WordPress Theme Colours Thanks Dave, that’s what I was hoping :)