Results 1 to 7 of 7

VBSEO and static non VB pages.

This is a discussion on VBSEO and static non VB pages. within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; My site is running vbseo3.0 and the sitemap 2.0 Im not sure as i havent had much chance to read ...

  1. #1
    Member Griffin's Avatar
    Real Name
    Sean James
    Join Date
    Jan 2006
    Location
    Sydney Australia
    Posts
    89
    Liked
    0 times

    VBSEO and static non VB pages.

    My site is running vbseo3.0 and the sitemap 2.0

    Im not sure as i havent had much chance to read these forums, can VBSEO be used to add non-vbulletin pages (static pages) to a sitemap?

    My forums are located here mysite/forums/
    and my static pages are located here mysite/index.html

    Here are my current HTACCESS settings

    root .htaccess:
    Code:
    RewriteEngine On
    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    forums .htaccess:
    Code:
    # 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 /
    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
    RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA]
    RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
    If this is not possible with VBSEO, what software do people recommend for adding static pages to a sitemap.

    Thanks for any help
    Bluepearl Design
    http://www.bluepearl-design.com - Design Community
    http://www.musclesci.com - BodyBuilding Community
    http://www.vbulletin-templates.com - Free vBulletin Templates

  2. #2
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    Yes, you can use the extra-urls.txt to define additional URLs to be included in your sitemap. It's located in the vbseo_sitemap directory.

  3. #3
    Member Griffin's Avatar
    Real Name
    Sean James
    Join Date
    Jan 2006
    Location
    Sydney Australia
    Posts
    89
    Liked
    0 times
    Thanks Keith,
    what format would i enter the URL?

    Like this?
    http://www.mysite/index.php, http://www.mysite/service.php
    Bluepearl Design
    http://www.bluepearl-design.com - Design Community
    http://www.musclesci.com - BodyBuilding Community
    http://www.vbulletin-templates.com - Free vBulletin Templates

  4. #4
    Member Griffin's Avatar
    Real Name
    Sean James
    Join Date
    Jan 2006
    Location
    Sydney Australia
    Posts
    89
    Liked
    0 times
    I added some of the URL's to the extra-urls.txt file.

    Is this correct?

    Also does it matter if i use the extension PHP? or should i change them to *.HTML?

    Thanks for your help
    Bluepearl Design
    http://www.bluepearl-design.com - Design Community
    http://www.musclesci.com - BodyBuilding Community
    http://www.vbulletin-templates.com - Free vBulletin Templates

  5. #5
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    You should enter one URL per line.
    Also does it matter if i use the extension PHP? or should i change them to *.HTML?
    You should specify URLs exactly as they are accessed.

  6. #6
    Member Griffin's Avatar
    Real Name
    Sean James
    Join Date
    Jan 2006
    Location
    Sydney Australia
    Posts
    89
    Liked
    0 times
    Im getting this error with my sitemap since adding theses changes.
    Errors Line:
    14
    URL not allowed
    This url is not allowed for a Sitemap at this location. [?] URL:
    Date found: http://www.bluepearl-design.com/index.php
    Apr 20, 2007 Line:
    20
    URL not allowed
    This url is not allowed for a Sitemap at this location. [?] URL:
    Date found: http://www.bluepearl-design.com/services.php
    Apr 20, 2007 Line:
    26
    URL not allowed
    This url is not allowed for a Sitemap at this location. [?] URL:
    Date found: http://www.bluepearl-design.com/portfolio.php
    Apr 20, 2007 Line:
    32
    URL not allowed
    This url is not allowed for a Sitemap at this location. [?] URL:
    Date found: http://www.bluepearl-design.com/portfolio-vbulletin-phpbb.php
    Apr 20, 2007 Line:
    38
    URL not allowed
    This url is not allowed for a Sitemap at this location. [?] URL:
    Date found: http://www.bluepearl-design.com/portfolio-graphic.php
    Apr 20, 2007
    Any ideas?
    Bluepearl Design
    http://www.bluepearl-design.com - Design Community
    http://www.musclesci.com - BodyBuilding Community
    http://www.vbulletin-templates.com - Free vBulletin Templates

  7. #7
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    If you include URLs *above* forums folder, you should submit sitemap in domain root, as described in Sitemap in www root

Posting Permissions

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