Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 9 of 9

Thread: Google sitemap errors

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Google sitemap errors

    Text automatically translated from: Vietnamese to: English
    Translated text
    I submit sitemap by google webmaster tools I see this error:
    Original text

    URLs not followed
    When we tested a sample of URLs from your Sitemap, we found that some URLs redirect to other locations. We recommend that your Sitemap contain URLs that point to the final destination (the redirect target) instead of redirecting to another URL.

    HTTP Error: 301
    URL:
    htt p://windowsz.net/threads/13026-Soft-Android-Norton-Smartphone-Security-Bảo-mật-cho-điện-thoại-Android&language=pl
    Problem detected on: Apr 24, 2011
    Text automatically translated from: Vietnamese to: English
    Translated text
    - I use Mod Rewrite Friendly URLs, I use: Create URL's theo SEO link Consensus (ie '/ en / address'); not use vBSEO use: vBSEO Search Engine XML Sitemap
    - The contents of file. My htaccess:
    Original text

    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^windowsz\.net$ [NC]
    RewriteRule ^(.*)$ http://windowsz.net/$1 [R=301,L]
    DirectoryIndex forum.php index.php index .php3 messagebrd.pl index.html index.htm
    RewriteBase /
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|sq|ca|et|tl|gl|hi|id|lv|lt|mt|sl|uk|vi|cy|yi)/archive/index.php/(.*)?$ archive/index.php?/$2&language=$1 [L,QSA]
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/$ forum.php?language=$1 [L,QSA]
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|vi|cy|yi)/(.*)?$ $2?language=$1 [QSA]
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    Options +FollowSymLinks

    ### THIS IS A LITTLE EXTRA SECURITY AND CAN BE REMOVED

    RewriteRule ^includes/(.*) index.php
    RewriteRule ^vb/(.*) index.php
    RewriteRule ^packages/(.*) index.php

    ### THIS IS THE ACTUAL REWRITE

    RewriteRule ^threads/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) showthread.php?t=$1&page=$2&%{QUERY_STRING}
    RewriteRule ^members/([0-9]+) member.php?u=$1&%{QUERY_STRING}
    RewriteRule ^forums/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) forumdisplay.php?f=$1&page=$2&%{QUERY_STRING}
    RewriteRule ^blogs/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) blog.php?u=$1&page=$2&%{QUERY_STRING}
    RewriteRule ^entries/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) entry.php?b=$1&page=$2&%{QUERY_STRING}
    RewriteRule ^list/([^/]*/)([0-9]+) list.php?r=$1$2&%{QUERY_STRING}
    RewriteRule ^content/(.*) content.php?r=$1&%{QUERY_STRING}
    RewriteRule ^widget/config/([0-9]+) widget.php?r=config/$1&%{QUERY_STRING}
    Text automatically translated from: Vietnamese to: English
    Translated text
    file vbseo_sitemap_functions.php content:
    Original text

    $prior = vbseo_sm_priority($vboptions['vbseo_sm_priority_rt'], $relp);

    if($vboptions['vbseo_sm_freq_tsmart'])
    {
    $dpassed = (time() - $threadrow['lastpost'])/86400;
    if($dpassed<3)$freq = 'daily';
    else if($dpassed<10)$freq = 'weekly';
    else if($dpassed<100)$freq = 'monthly';
    else $freq = 'yearly';
    }else
    $freq = $vboptions['vbseo_sm_freq_t'];

    vbseo_log_entry("[showthread] forum_id: $forumid, thread_id: $threadrow[threadid], total posts: $totalposts, pages: $totalpages, views: $threadrow[views] $prior");
    for($p=1; $p<=$totalpages; $p++)
    {
    //additional code
    $alanguages = array ('af','sq','ar','be','bg','ca','zh-CN','hr','cs','da','nl','en','pl','et','tl','fi','fr','gl','de','el','iw','hi','hu','is','id','ga','it','ja','ko','lv','lt','mk','ms','mt','no','fa','pt','ro','ru','sr','sk','sl','es','sw','sv','zh-TW','th','tr','uk','cy','yi');
    if(!$archived) {
    $currentthreadurl = vbseo_url_thread($threadrow, $p, $archived) . '&amp;language=';
    $vbseo_stat['t'] += sizeof($alanguages);
    $lastpost =& $threadrow['lastpost'];
    foreach($alanguages as $language) {
    vbseo_add_url($currentthreadurl.$language, $prior, $lastpost, $freq);
    }
    }
    //end additional code

    $vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls(
    vbseo_url_thread($threadrow, $p, $archived),
    vbseo_url_thread($threadrow, $p, $archived, true),
    $prior,
    $threadrow['lastpost'],
    $freq
    &nbsp;

    }

    if($showpost)
    {

    $getposts = $db->query("
    SELECT p.dateline,p.postid,p.threadid
    FROM " . TABLE_PREFIX . "post AS p
    WHERE p.threadid = $threadrow[threadid]
    AND visible = 1
    ORDER BY p.dateline
    ");
    Text automatically translated from: Vietnamese to: English
    Translated text
    You please help me as the correct configuration, and why errors sitemap that helps me troubleshoot with, thanks
    Original text
    Last edited by haiduongbk; 24-04-11 at 14:29.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •