Suppose it is:
Replace this code with:
<***?php
if (is_attachment()) {
echo $post->post_title;
}else{
get_title();
}
?> remove this *** And now go to all in seo plugin.
Add this to line 92 of aioseop.class.php in wp-content/plugins/all-in-one-seo/
//added by nabeel
if(is_attachment()) {
return;
}before:
if (is_feed()) {
return;
}Now your wordpress works normally with all in one seo plugin but the attachment page titles are not stuffed with keywords anymore and contain only the image title
Source
{ 0 komentar... Views All / Send Comment! }
Posting Komentar