parvizb7 7 ارسال شده در خرداد 94 گزارش بازنشر ارسال شده در خرداد 94 دوستان این عکسها رو ببینید:237 تا اررور. از چی میتونه باشه؟: نقل قول لینک به ارسال
bestdata 830 ارسال شده در خرداد 94 گزارش بازنشر ارسال شده در خرداد 94 بخش مارک آپ سایتتون چند بخش رو جا گذاشتید اسم نویسنده پست عنوان مطلببروز رسانیهر جا عنوان پست هست کلاس entry-title رو به تگ حاوی عنوان مطلب بدیدهرجا که نام نویسنده است رو حذف کنید و کد زیر رو جاش بذارید <span class="vcard author post-author"><span class="fn"><?php the_author(); ?></span></span>هر جا که تاریخ انتشار پست هست <span class="post-date updated"><?php the_date(); ?></span>رو بزنید برای اطلاعات بیشترhttps://www.acceleratormarketing.com/trench-report/google-analytics-errors-and-structured-data/ 2 نقل قول لینک به ارسال
parvizb7 7 ارسال شده در خرداد 94 مالک گزارش بازنشر ارسال شده در خرداد 94 (ویرایش شده) لطفا دقیقتر راهنماییم بکنین که چیکار کنم؟کدهای قالب رو دستکاری بکنم؟کدوم فایلها رو؟به نظرتون چرا اینجوری شده؟من از افزونه سئو Wordpress Yoas میتونه دلیلش همون باشه؟کدهایی که داخل فایل های robots.txt و .htaccess هم توی این مشکل تاثیر داره؟فایل .htaccess من اینه:# BEGIN WordPress<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /RewriteRule ^index\.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</IfModule># END WordPressکش# BEGIN Expire headers<ifModule mod_expires.c>ExpiresActive OnExpiresDefault "access plus 1 month"ExpiresByType image/x-icon "access plus 1 year"ExpiresByType image/jpeg "access plus 1 month"ExpiresByType image/png "access plus 1 month"ExpiresByType image/gif "access plus 1 month"ExpiresByType image/jpg "access plus 1 month"ExpiresByType application/x-shockwave-flash "access plus 1 month"ExpiresByType text/css "access plus 1 month"ExpiresByType text/javascript "access plus 1 year"ExpiresByType application/javascript "access plus 1 year"ExpiresByType application/x-javascript "access plus 1 year"ExpiresByType text/html "access plus 600 seconds"ExpiresByType application/xhtml+xml "access plus 600 seconds"ExpiresByType font/ttf "access plus 1 year"ExpiresByType font/woff "access plus 1 year"</ifModule># END Expire headers# BEGIN Cache-Control Headers<ifModule mod_headers.c><filesMatch "\.(ico|jpe?g|png|gif|swf|woff|ttf)$">Header set Cache-Control "max-age=2592000, public"</filesMatch><filesMatch "\.(css)$">Header set Cache-Control "max-age=2592000, public"</filesMatch><filesMatch "\.(js)$">Header set Cache-Control "max-age=2592000, private"</filesMatch><filesMatch "\.(x?html?|php)$">Header set Cache-Control "max-age=600, private, must-revalidate"</filesMatch></ifModule># END Cache-Control Headers# BEGIN Turn ETags Off<ifModule mod_headers.c>Header unset ETag</ifModule>FileETag None# END Turn ETags Off# BEGIN Remove Last-Modified Header<ifModule mod_headers.c>Header unset Last-Modified</ifModule># END Remove Last-Modified HeaderاسپمRewriteEngine OnRewriteCond %{REQUEST_METHOD} POSTRewriteCond %{REQUEST_URI} .wp-comments-post\.php*RewriteCond %{HTTP_REFERER} !.*yourblog.com.* [OR]RewriteCond %{HTTP_USER_AGENT} ^$RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]بالا بردن امنیت فایل wp-config<files wp-config.php>order allow,denydeny from all</files>قابلیت Gzip# BEGIN Compress text files<ifModule mod_deflate.c><filesMatch "\.(css|js|x?html?|php|woff|ttf|png|jpg|gif)$">SetOutputFilter DEFLATE</filesMatch></ifModule># END Compress text filesغیرفعال کردن مشاهده زیرشاخههاOptions -Indexesمحافظت از فایل wp-config.php<files wp-config.php>order allow,denydeny from all</files>ورود به سایت بدون wwwRewriteEngine OnRewriteCond %{HTTP_HOST} !^1arc\.ir$ [NC]RewriteRule ^(.*)$ http://1arc.ir/$1 [R=301,L]جلوگیری از سرقت پهنای باندRewriteEngine onRewriteCond %{HTTP_REFERER} !^$RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?1arc.ir [NC]RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?shop.1arc.ir [NC]RewriteRule \.(jpg|jpeg|png|gif)$ http://1arc.ir/wp-content/uploads/2015/05/logo5.png [NC,R,L] ویرایش شده خرداد 94 توسط parvizb7 نقل قول لینک به ارسال
parvizb7 7 ارسال شده در خرداد 94 مالک گزارش بازنشر ارسال شده در خرداد 94 این کد قایل single.php قالبم هستش.اگه میشه واسم اصلاحش بکنین.ممنونتون میشم.<?php get_header(); ?><section class="content"><?php get_template_part('inc/page-title'); ?><div class="pad group"> <?php while ( have_posts() ): the_post(); ?> <article <?php post_class(); ?>> <div class="post-inner group"> <h1 class="post-title"><?php the_title(); ?></h1> <p class="post-byline"><?php _e('by','hueman'); ?> <?php the_author_posts_link(); ?> · <?php the_time(get_option('date_format')); ?></p> <?php if( get_post_format() ) { get_template_part('inc/post-formats'); } ?> <div class="clear"></div> <div class="entry <?php if ( ot_get_option('sharrre') != 'off' ) { echo 'share'; }; ?>"> <div class="entry-inner"> <?php the_content(); ?> <?php wp_link_pages(array('before'=>'<div class="post-pages">'.__('Pages:','hueman'),'after'=>'</div>')); ?> </div> <?php if ( ot_get_option('sharrre') != 'off' ) { get_template_part('inc/sharrre'); } ?> <div class="clear"></div> </div><!--/.entry--> </div><!--/.post-inner--> </article><!--/.post--> <?php endwhile; ?> <div id="sidebar-subscribe-box"><div class="sidebar-subscribe-box-wrapper"> <header class="snp-header"><header class="snp-header"><h4 class="snp-header"><strong><span style="color: #ff0000;"> هیچ پروژه ای را از دست ندهید! </span></strong></h4><h4 class="snp-header">سرویس رایگان و متفاوتی از یک معمار</h4> با عضویت 100% رایگان در این سرویس هر هفته برترین مطالب سایت یک معمار را مستقیم در inbox خود دریافت نمایید.</header></header></p><div class="sidebar-subscribe-box-form"><form action="http://feedburner.google.com/fb/a/mailverify?uri=1arc" class="sidebar-subscribe-box-form" method="post" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=1arc', 'popupwindow', 'scrollbars=yes,width=620,height=520');return true" target="popupwindow"><input name="uri" type="hidden" value="1arc" /><input name="loc" type="hidden" value="en_US" /><input class="sidebar-subscribe-box-email-field" name="email" autocomplete="on" placeholder="ایمیل خود را وارد نمائید " required="required"/><input class="sidebar-subscribe-box-email-button" title="" type="submit" value="ثبت عضویت !" /></form></div></div></div> <div class="clear"></div> <?php the_tags('<p class="post-tags"><span>'.__('Tags:','hueman').'</span> ','','</p>'); ?> <?php if ( ( ot_get_option( 'author-bio' ) != 'off' ) && get_the_author_meta( 'description' ) ): ?> <div class="author-bio"> <div class="bio-avatar"><?php echo get_avatar(get_the_author_meta('user_email'),'128'); ?></div> <p class="bio-name"><?php the_author_meta('display_name'); ?></p> <p class="bio-desc"><?php the_author_meta('description'); ?></p> <div class="clear"></div> </div> <?php endif; ?> <?php if ( ot_get_option( 'post-nav' ) == 'content') { get_template_part('inc/post-nav'); } ?> <?php if ( ot_get_option( 'related-posts' ) != '1' ) { get_template_part('inc/related-posts'); } ?> <?php comments_template('/comments.php',true); ?></div><!--/.pad--></section><!--/.content--><?php get_sidebar(); ?><?php get_footer(); ?> نقل قول لینک به ارسال
bestdata 830 ارسال شده در خرداد 94 گزارش بازنشر ارسال شده در خرداد 94 خیر از قالبتونه کجای راهنماییم نا مفهومه؟ فقط single نیست categoryarchivepageهم باید ویرایش کنید و تغییراتی که بهتون گفتم انجام بدید 2 نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .