vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Total Support Team Launches DeskPro New vBSEO Discount Level for Network Builders vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

Path error in sitemap index file

This is a discussion on Path error in sitemap index file within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; hello, i submitted the root sitemap (mysite.com/sitemap_index.xml.gz) to google and i get an error at google sitemaps because the index ...

Go Back   vBulletin SEO Forums > vBSEO Google/Yahoo Sitemap > Troubleshooting

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 05-10-2006, 04:13 PM
Junior Member
 
Join Date: Jan 2006
Posts: 28
Path error in sitemap index file

hello,
i submitted the root sitemap (mysite.com/sitemap_index.xml.gz) to google and i get an error at google sitemaps because the index file is linking to the sitemap files in the subfolders and not the root adress

content of my index sitemap file (mysite.com/sitemap_index.xml.gz):
Quote:
<sitemapindex>
-
<sitemap>
<loc>http://www.mysite.com/forums/sitemap_1.xml.gz</loc>
<lastmod>2006-05-10T02:00:53+00:00</lastmod>
</sitemap>
-
<sitemap>
<loc>http://www.mysite.com/forums/sitemap_2.xml.gz</loc>
<lastmod>2006-05-10T02:00:53+00:00</lastmod>
</sitemap>
</sitemapindex>
how can i thange the links by default to:
http://mysite.com/sitemap_1.xml.gz
and
http://mysite.com/sitemap_2.xml.gz
?

can somebody help me?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 05-10-2006, 06:32 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,923
Re: Path error in sitemap index file

Hello,

To get the root-level URLs in the sitemaps index, you should modify vbseo_sitemap_functions.php file.
FIND:
PHP Code:
               'url'=>$vbseo_vars['bburl'] . '/' .$sm_filename
REPLACE WITH:
PHP Code:
               'url'=>'http://www.mysite.com/' .$sm_filename
Btw, you can just submit each sitemap file individually instead of the index file.
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
only able to view 1/3 of vbseo config area mindhunter77 Troubleshooting 5 01-31-2006 05:46 PM
Problem with the sitemap file Toocool Troubleshooting 3 01-29-2006 05:33 PM
URL not under sitemap path BamaStangGuy Troubleshooting 8 12-19-2005 10:12 PM
vBSEO Google/Yahoo Sitemap Generator for vBulletin 3.6.x, vBulletin 3.5.x & vBulletin 3.0.x Joe Ward General Discussion 0 12-17-2005 02:11 PM


All times are GMT -4. The time now is 11:11 PM.


Powered by vBulletin Version 3.8.0 Release Candidate 2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.