Results 1 to 4 of 4

Sitemap 2.6 - sitemap_index.xml.gz redirects to Forum Home

This is a discussion on Sitemap 2.6 - sitemap_index.xml.gz redirects to Forum Home within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; Hi, after generating the first Sitemap after upgrading to vBulletin 4.0.6 and Sitemap 2.6 http://www.politikstube.de/forum/sitemap_index.xml.gz redirects me to /forum/forum.php. Same ...

  1. #1
    Senior Member redlabour's Avatar
    Real Name
    André
    Join Date
    Sep 2005
    Location
    Germany, NRW
    Posts
    373
    Liked
    0 times

    Thumbs down Sitemap 2.6 - sitemap_index.xml.gz redirects to Forum Home

    Hi,

    after generating the first Sitemap after upgrading to vBulletin 4.0.6 and Sitemap 2.6 http://www.politikstube.de/forum/sitemap_index.xml.gz redirects me to /forum/forum.php. Same for http://www.politikstube.de/forum/vbs...p_index.xml.gz .

    Google of course tells me that the File is then a HTML Files and not a *.xml (you know - the redirect to forum.php ).

    What could be wrong?

    Forum URL:

    http://www.politikstube.de/forum

    .htaccess (from /forum/ ):


    DirectoryIndex index.php

    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On

    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    RewriteBase /forum/

    RewriteCond %{HTTP_HOST} !^www\.politikstube\.de
    RewriteRule (.*) http://www.politikstube.de/forum/$1 [R=301,L]
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|redir\.php|vbseo_sitemap)
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images|vbse o_sitemap)/
    RewriteRule ^(.+)$ vbseo.php [L,QSA]

    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    ####Charset
    AddDefaultCharset Off

    ####Gzip
    <IfModule mod_rewrite.c>
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^(.*)(js|css)$ redir.php?file=$1$2&type=$2 [L]
    </IfModule>

    ####ETags
    FileETag None

    ####Expires
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/gif A2592000
    ExpiresByType image/jpeg A2592000
    ExpiresByType image/png A2592000
    ExpiresByType application/x-shockwave-flash A2592000
    ExpiresByType text/css A2592000
    ExpiresByType application/x-javascript A2592000
    </IfModule>

    robots.txt :


    # Allow Archiver
    User-agent: ia_archiver
    Allow: /

    User-agent: Slurp
    Crawl-delay: 60

    User-agent: Teoma
    Crawl-delay: 90

    User-agent: *

    Disallow: *.php
    Disallow: *.js
    Disallow: *.jsp
    Disallow: *.cfm
    Disallow: *.asp
    Disallow: *.aspx
    Disallow: *.cgi
    Disallow: *.jpg
    Disallow: *.png
    Disallow: *.gif
    Disallow: *.jpeg

    Disallow: /forum/admincp/
    Disallow: /forum/arcade/
    Disallow: /forum/archive/
    Disallow: /forum/banner/
    Disallow: /forum/images/
    Disallow: /forum/clientscript/
    Disallow: /forum/cpstyles/
    Disallow: /forum/cron/
    Disallow: /forum/customattachments/
    Disallow: /forum/customavatars/
    Disallow: /forum/customblogattachments/
    Disallow: /forum/customgroupicons/
    Disallow: /forum/customprofilepics/
    Disallow: /forum/customprojectattachments/
    Disallow: /forum/imagehosting/
    Disallow: /forum/images/
    Disallow: /forum/includes/
    Disallow: /forum/irc/
    Disallow: /forum/mobiquo/
    Disallow: /forum/modcp/
    Disallow: /forum/packages/
    Disallow: /forum/pjirc/
    Disallow: /forum/sb/
    Disallow: /forum/signaturepics/
    Disallow: /forum/vb/
    Disallow: /forum/vbseo/
    Disallow: /forum/xml/
    Disallow: /forum/xperience/
    Disallow: /forum/ajax.php
    Disallow: /forum/album.php
    Disallow: /forum/albumall.php
    Disallow: /forum/announcement.php
    Disallow: /forum/arcade.php
    Disallow: /forum/attachment.php
    Disallow: /forum/calendar.php
    Disallow: /forum/cron.php
    Disallow: /forum/editpost.php
    Disallow: /forum/global.php
    Disallow: /forum/image.php
    Disallow: /forum/inlinemod.php
    Disallow: /forum/joinrequests.php
    Disallow: /forum/login.php
    Disallow: /forum/member.php
    Disallow: /forum/memberlist.php
    Disallow: /forum/misc.php
    Disallow: /forum/moderator.php
    Disallow: /forum/newattachment.php
    Disallow: /forum/newreply.php
    Disallow: /forum/newthread.php
    Disallow: /forum/online.php
    Disallow: /forum/poll.php
    Disallow: /forum/postings.php
    Disallow: /forum/printthread.php
    Disallow: /forum/private.php
    Disallow: /forum/profile.php
    Disallow: /forum/register.php
    Disallow: /forum/report.php
    Disallow: /forum/reputation.php
    Disallow: /forum/search.php
    Disallow: /forum/sendmessage.php
    Disallow: /forum/showgroups.php
    Disallow: /forum/subscription.php
    Disallow: /forum/threadrate.php
    Disallow: /forum/usercp.php
    Disallow: /forum/usernote.php
    Sitemap: /forum/sitemap_index.xml.gz
    BTW - what CHMOD should vbseo_sitemap/data and the file have?

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Your sitemap rule is in the wrong place in the htaccess file. It needs to come before the vbseo rules. Consult your download htaccess file for reference. It should load after that.

    /data needs to be 666 or 777, and there's an htaccess file in there that stops direct execution.

  3. #3
    Senior Member redlabour's Avatar
    Real Name
    André
    Join Date
    Sep 2005
    Location
    Germany, NRW
    Posts
    373
    Liked
    0 times
    Hopefully after a few years now (!!!) some of your Staff will fix this in the Manual. :( Could save Hours if the Manual didnt tell me to drop the line to the bottom of the .htaccess and to set CHMOD to 777.

    Ok, works now ...... thanks.

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    The sitemap rule is included in the default file.... there are no changes necessary to it, and thus no instructions about 'droping the line to the bottom' anywhere in the instructions. Upon upload, the data/ folder should be automatically chmodded to 777 on most systems. If not, a warning will appear in the vbseo_sitemap/ reporting area alerting you that it is not writable.

Similar Threads

  1. Replies: 2
    Last Post: 04-24-2009, 02:54 PM
  2. cgi-bin redirects to the home page
    By kiawah in forum URL Rewrite Settings
    Replies: 11
    Last Post: 10-20-2008, 10:30 AM
  3. Description and keywords on home and forum home
    By Zagis in forum General Discussion
    Replies: 3
    Last Post: 07-29-2008, 03:27 PM
  4. Replies: 8
    Last Post: 04-01-2006, 07:50 PM

Posting Permissions

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