Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

We are working for a site and almost every post having one extra url from imageenter image description here attachment and webmaster considering duplicate content of my site.

Please see attachment and also tell me that's why my URL is not showing completely in SERP and showing in category ?

enter image description here

share|improve this question

1 Answer 1

This sounds like the work of the_attachment_link template tag.

Have a look here for the documentation: http://codex.wordpress.org/Function_Reference/the_attachment_link

You should be able to edit your theme files and remove these links (or simply comment them out)

Example:

 <?php the_attachment_link( $id, $fullsize, $deprecated, $permalink ); ?> 

Change to:

 <?php /* the_attachment_link( $id, $fullsize, $deprecated, $permalink ); */ ?> 
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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