Change the_content to excerpt on comment pages (Wordpress)

/ Published in: PHP
Save to your folder(s)

This helps to avoid the "duplicated content" indexation by google on wordpress comment pages by changing the post content to the_excerpt ONLY in comment pages.


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.