رفتن به مطلب

10000000

عضو سایت
  • تعداد ارسال‌ها

    62
  • تاریخ عضویت

  • آخرین بازدید

نوشته‌ها ارسال شده توسط 10000000

  1. سلام

    من از وقتی از کدی که توی انجمن بوده برای جلوگیری از اسپم رو گذاشتم توی کد های سایتم دیگه کسی نمی تونه کامنت بزاره .

    من کدو میذارم اینجا . ممنون می شم کسی بتونه کمکم کنه . چون واقعا بد شده سایت . کسی نمی تونه کامنت بده

    <IfModule mod_mime.c>
    AddType application/x-javascript .js
    AddType text/css .css
    </IfModule>
    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/css application/x-javascript text/x-component text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/javascript
    <IfModule mod_setenvif.c>
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    </IfModule>
    <IfModule mod_headers.c>
    Header append Vary User-Agent env=!dont-vary
    </IfModule>
    </IfModule>
    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType text/css "access 1 month"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType text/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresByType text/html A30
    ExpiresDefault "access 1 month"
    </IfModule>
    ## EXPIRES CACHING ##
    # BEGIN WPSuperCache
    # END WPSuperCache
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
    RewriteCond %{HTTP_REFERER} !.*famusic4.in* [OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]
    </IfModule>
    RewriteCond %{HTTP_HOST} ^famusic\.in$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.famusic\.in$
    RewriteRule ^/?$ "http\:\/\/1\.famusic7\.in\/" [R=301,L]
    RewriteCond %{HTTP_HOST} ^famusic1\.in$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.famusic1\.in$
    RewriteRule ^/?$ "http\:\/\/1\.famusic7\.in\/" [R=301,L]
    RewriteCond %{HTTP_HOST} ^famusic2\.in$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.famusic2\.in$
    RewriteRule ^/?$ "http\:\/\/1\.famusic7\.in\/" [R=301,L]
    RewriteCond %{HTTP_HOST} ^famusic3\.in$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.famusic3\.in$
    RewriteRule ^/?$ "http\:\/\/1\.famusic7\.in\/" [R=301,L]
    RewriteCond %{HTTP_HOST} ^famusic4\.in$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.famusic4\.in$
    RewriteRule ^/?$ "http\:\/\/1\.famusic7\.in\/" [R=301,L]
    RewriteCond %{HTTP_HOST} ^famusic5\.in$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.famusic5\.in$
    RewriteRule ^/?$ "http\:\/\/1\.famusic7\.in\/" [R=301,L]
    RewriteCond %{HTTP_HOST} ^famusic7\.in$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.famusic7\.in$
    RewriteRule ^/?$ "http\:\/\/1\.famusic7\.in\/" [R=301,L]
    RewriteCond %{HTTP_HOST} ^far30avamusic1\.in$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.far30avamusic1\.in$
    RewriteRule ^/?$ "http\:\/\/1\.famusic7\.in\/" [R=301,L]
    RewriteCond %{HTTP_HOST} ^famusic6\.in$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.famusic6\.in$
    RewriteRule ^/?$ "http\:\/\/1\.famusic7\.in\/" [R=301,L]

    در کل می خوام بدونم ایرادای این کد چیه ؟

  2. سلام این ارور توی گوگل وب مستر اومده برام . و از دی ان اس ایراد گرفته . این اتفاق بعد از اینکه من ادرس سایتمو عوض کردم افتاد و بعد یه دفعه هیچی توی سایت ایندکس نشد می خوام ببینم کسی می تونه کمکم کنه ؟

    Over the last 24 hours, Googlebot encountered 83 errors while attempting to retrieve DNS information for your site. The overall error rate for DNS queries for your site is 5.2%.

    You can see more details about these errors in Webmaster Tools.

    Recommended actionIf the site error rate is 100%:

    • Use a WHOIS tool to verify that http://famusic6.in/ has a proper whois record and that nameservers are configured for the site. If not, contact your domain registrar to update your whois records.
    • Using a DNS lookup tool, verify that the nameserver's name can be resolved to an IP address. If not, either update your whois record to contain an IP address for your nameserver, or update the DNS records for nameserver.
    • Using a DNS lookup tool, verify that http://famusic6.in/ can be resolved to an IP address. If it can't, update the DNS record for http://famusic6.in/ on your nameserver.

    If the site error rate is less than 100%:

    • The most likely explanation is that your nameserver is overloaded. Contact your hosting provider and discuss the configuration of your DNS server and the possibility of allocating more resources to your DNS service.
    • If your site redirects to another hostname, another possible explanation is that a URL on your site is redirecting to a hostname that has a DNS problem. Consider checking the links to which your site redirects and make sure that the sites in your redirect links don't have any DNS issues.

    After you think you've fixed the problem, use Fetch as Google to verify that Googlebot can properly access your site.

  3. سلام

    می خواستم یه کاری کنم که سایتم برای موبایل ها یه ورژن داشته باشه .

    الانم توی موبایلا میاد ولی خوب چون سایت دانلوده واسه دانلود مشکل دارن و یکی اینکه یه ذره بهم ریخته میاد

    می خوام ببینم راه ساده ای هست که بشه این کارو انجام داد ؟

  4. نه من نذاشتم

    اینم کد فانکشن . چون من هر چی گشتم گیر نیاوردم

    <?php
    require_once('resizer.php');
    if ( function_exists('register_sidebar') )
    register_sidebar( array (
    'name'=> 'سایدبار ادامه مطلب',
    'before_widget' => '<div class="def-block widget"><div class="widget-content">',
    'after_widget' => ' </div> </div>',
    'before_title' => '<h4>',
    'after_title' => '</h4><span class="liner"></span>'
    ));
    if ( function_exists('register_sidebar') )
    register_sidebar( array (
    'name'=> 'ورود به سایت',
    'before_widget' => '<div class="def-block widget"><div class="widget-content">',
    'after_widget' => ' </div> </div>',
    'before_title' => '<h4>',
    'after_title' => '</h4><span class="liner"></span>'
    ));


    function mw_pagination($pages = '', $range = 2)
    {
    $showitems = ($range * 2)+1;

    global $paged;
    if(empty($paged)) $paged = 1;

    if($pages == '')
    {
    global $wp_query;
    $pages = $wp_query->max_num_pages;
    if(!$pages)
    {
    $pages = 1;
    }
    }

    if(1 != $pages)
    {
    echo "<div class='pagination cf'>";
    if($paged > 2 && $paged > $range+1 && $showitems < $pages) echo "<a href='".get_pagenum_link(1)."'>«</a>";
    if($paged > 1 && $showitems < $pages) echo "<a href='".get_pagenum_link($paged - 1)."'>‹</a>";

    for ($i=1; $i <= $pages; $i++)
    {
    if (1 != $pages &&( !($i >= $paged+$range+1 || $i <= $paged-$range-1) || $pages <= $showitems ))
    {
    echo ($paged == $i)? "<span class='current'>".$i."</span>":"<a href='".get_pagenum_link($i)."' class='inactive' >".$i."</a>";
    }
    }

    if ($paged < $pages && $showitems < $pages) echo "<a href='".get_pagenum_link($paged + 1)."'>›</a>";
    if ($paged < $pages-1 && $paged+$range-1 < $pages && $showitems < $pages) echo "<a href='".get_pagenum_link($pages)."'>»</a>";
    echo "</div>\n";
    }
    }

    register_nav_menus( array(
    'primary' => __( 'منو اصلی', 'wp-my' ),
    ) );


    require( get_template_directory() . '/admin/functions.php' );
    include_once('metabox.php');
    if (function_exists('add_theme_support')) {
    add_theme_support( 'post-thumbnails' );
    }
    function excerpt($length) {
    return 30;
    }
    function more($more) {
    return ' ...';
    }
    add_filter('excerpt_more', 'more');
    add_filter('excerpt_length', 'excerpt');
    if (function_exists('add_image_size')){
    add_image_size( 'first-thumb', 900, 500, false);
    add_image_size( 'secound-thumb', 800, 600, true);
    add_image_size( 'third-thumb', 125, 125, true);
    add_image_size( 'new-thumb', 250, 250, false);
    add_image_size( 'six-thumb', 1200, 1200, true);
    }
    function autoset_featured() {
    global $post;
    $already_has_thumb = has_post_thumbnail($post->ID);
    if (!$already_has_thumb) {
    $attached_image = get_children( "post_parent=$post->ID&post_type=attachment&post_mime_type=image&numberposts=1" );
    if ($attached_image) {
    foreach ($attached_image as $attachment_id => $attachment) {
    set_post_thumbnail($post->ID, $attachment_id);
    }
    }
    }
    } //end function
    add_action('the_post', 'autoset_featured');
    add_action('save_post', 'autoset_featured');
    add_action('draft_to_publish', 'autoset_featured');
    add_action('new_to_publish', 'autoset_featured');
    add_action('pending_to_publish', 'autoset_featured');
    add_action('future_to_publish', 'autoset_featured');
    remove_action( 'wp_head', 'rsd_link' );
    remove_action( 'wp_head', 'wlwmanifest_link' );
    remove_action( 'wp_head', 'wp_generator' );
    remove_action( 'wp_head', 'start_post_rel_link' );
    remove_action( 'wp_head', 'index_rel_link' );
    remove_action( 'wp_head', 'adjacent_posts_rel_link' );
    remove_action( 'wp_head', 'wp_shortlink_wp_head' );

    ?>

  5. سلام من از افزونه جی زیپ استفاده می کردم

    به پیشنهاد یکی از دوستان توی انجمن از کد استفاده کردم

    ولی الان سایتم کش می شه

    هیچکس پستای جدیدو نمی بینه همه قدیمیارو می بینن .

    یه سریا فکر کردن سایت غیر فعال شده انقدر پستا عوض نشده . چی کار کنم ؟ ممنون می شم کمک کنید

    اینم کدی که به پیشنهاد دوستان اضافه کردم

    <IfModule mod_mime.c>
    AddType application/x-javascript .js
    AddType text/css .css
    </IfModule>
    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/css application/x-javascript text/x-component text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/javascript
    <IfModule mod_setenvif.c>
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    </IfModule>
    <IfModule mod_headers.c>
    Header append Vary User-Agent env=!dont-vary
    </IfModule>
    </IfModule>
    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType text/css "access 1 month"
    ExpiresByType text/html "access 1 month"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType text/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresDefault "access 1 month"
    </IfModule>
    ## EXPIRES CACHING ##
    # BEGIN WPSuperCache
    # END WPSuperCache
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    کجاش مشکل داره که این اتفاق می افته ؟

  6. سلام من آدرس سایتمو عوض کردم از این دامنه http://famusic3.in/

    به این دامنه http://famusic4.in/

    ریدایرکتشم کردم ولی نمی شه ایراد چیه ؟

    اینم کد اکسس

    <IfModule mod_mime.c>
    AddType application/x-javascript .js
    AddType text/css .css
    </IfModule>
    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/css application/x-javascript text/x-component text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/javascript
    <IfModule mod_setenvif.c>
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    </IfModule>
    <IfModule mod_headers.c>
    Header append Vary User-Agent env=!dont-vary
    </IfModule>
    </IfModule>
    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType text/css "access 1 month"
    ExpiresByType text/html "access 1 month"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType text/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresDefault "access 1 month"
    </IfModule>
    ## EXPIRES CACHING ##
    # BEGIN WPSuperCache
    # END WPSuperCache
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
    RewriteCond %{HTTP_REFERER} !.*famusic3.in* [OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]
    </IfModule>
    RewriteCond %{HTTP_HOST} ^famusic1\.in$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.famusic1\.in$
    RewriteRule ^/?$ "http\:\/\/famusic4\.in\/" [R=301,L]
    RewriteCond %{HTTP_HOST} ^far30avamusic1\.in$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.far30avamusic1\.in$
    RewriteRule ^/?$ "http\:\/\/famusic4\.in\/" [R=301,L]
    RewriteCond %{HTTP_HOST} ^famusic2\.in$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.famusic2\.in$
    RewriteRule ^/?$ "http\:\/\/famusic4\.in\/" [R=301,L]
    RewriteCond %{HTTP_HOST} ^famusic3\.in$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.famusic3\.in$
    RewriteRule ^/?$ "http\:\/\/famusic4\.in\/" [R=301,L]
    RewriteCond %{HTTP_HOST} ^famusic\.in$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.famusic\.in$
    RewriteRule ^/?$ "http\:\/\/famusic4\.in\/" [R=301,L]

    ترو خدا کمک کنید بازدیدمو از دست ندادم :(

    • امتیاز 1
  7. سلام یه همچین ستونی می خوام بزارم توی سایتم با همه قابلیت هایی که این ستون داره

    یعنی تب و نشون دادن بازدید ، پر بازدید ترین های ماه ، روز ، هفته و کلی و عکس

    اگه افزونه داره یا کد داره هر چی که بهتر و زیبا تره و آسونم باشه . مرسی

    post-4419-0-35038000-1389909525_thumb.pn

×
×
  • اضافه کردن...