رفتن به مطلب

ارور افزونه وردپرس سئو


پست های پیشنهاد شده

دوستان من افزونه وردپرس سئو رو نصب کردم و تنظیماتشو انجام دادم اما اون بالا تو کادر قرمز یه اروری نشون میده

متن ارور این می باشد

SEO Issue: Your theme contains a meta description, which blocks WordPress SEO from working properly. Please visit the SEO Dashboard to fix this

کسی میدونه مشکل از چیه؟

لینک به ارسال

فایل header.php قالبتون رو باز کنید و متا تگ توضیحات رو از داخلش حذف کنید . یه کدی مثل این :


<meta name="description" content="بزرگترین مرکز دانلود و آموزش مهندسی | دانلود جزوات و کتب دانشگاهی، مقالات و پروژه، نرم افزارهای تخصصی" />

  • امتیاز 3
لینک به ارسال

این فایل هدر منه


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="description" content="<?php bloginfo('description') ?>" />
<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/glide.css" media="screen" />
<?php
wp_enqueue_script('jquery');
wp_enqueue_script('cufon', get_stylesheet_directory_uri() .'/js/cufon.js');
wp_enqueue_script('scroll', get_stylesheet_directory_uri() .'/js/scroll.js');
wp_enqueue_script('mousewheel', get_stylesheet_directory_uri() .'/js/mousewheel.js');
wp_enqueue_script('Effects', get_stylesheet_directory_uri() .'/js/effects.js');
wp_enqueue_script('sprinkle', get_stylesheet_directory_uri() .'/js/sprinkle.js');
wp_enqueue_script('jquery-ui-personalized-1.5.2.packed', get_stylesheet_directory_uri() .'/js/jquery-ui-personalized-1.5.2.packed.js');
?>
<script type="text/javascript"><!--//--><![CDATA[//><!--
sfHover = function() {
if (!document.getElementsByTagName) return false;
var sfEls1 = document.getElementById("catmenu").getElementsByTagName("li");
for (var i=0; i<sfEls1.length; i++) {
sfEls1[i].onmouseover=function() {
this.className+=" sfhover1";
}
sfEls1[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover1\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
//--><!]]></script>
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php //comments_popup_script(); // off by default ?>
<?php
if ( is_singular() ) wp_enqueue_script( 'comment-reply' );
wp_head(); ?>
</head>
<body>
<div id="wrapper">
<div id="top">
<div class="blogname">
<h1><a href="<?php bloginfo('siteurl');?>/" title="<?php bloginfo('name');?>"><?php bloginfo('name');?></a></h1>
<h2><?php bloginfo('description'); ?></h2>
</div>

</div>
<div class="clear"></div>
<div id="foxmenucontainer">
<div id="menu">
<ul>
<li class="page_item <?php if ( is_home() ) { ?>current_page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>/" title="Home">خانه</a></li>
<?php wp_list_pages('title_li=&sort_column=menu_order');?>
</ul>
</div>
</div>

من که نفهمیدم چیو باید حذف کنم :(

لینک به ارسال

سلام

خط 5ام همین فایل رو پاک کنید

یعنی این :


<meta name="description" content="<?php bloginfo('description') ?>" />

ویرایش شده توسط جویا
  • امتیاز 3
لینک به ارسال

به جای این هم :


<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title>

اینو قرار بدید


<title><?php wp_title(''); ?></title>

  • امتیاز 4
لینک به ارسال

لطفا برای ارسال دیدگاه وارد شوید

شما بعد از اینکه وارد حساب کاربری خود شدید می توانید دیدگاهی ارسال کنید



ورود به حساب کاربری
×
×
  • اضافه کردن...