SunQuest
           Search Engine Optimization
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignSearch Engine Optimization

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 2nd, 2006, 03:45 PM
lucas's Avatar
lucas lucas is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: UK
Posts: 367 lucas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 6 h 30 sec
Reputation Power: 5
Google SItemaps problem

On my website I ahve put a sitemap, located at www.domain.com/sitema.xml, and i have submitted this to google, however when it donwloads the file it tells me there is an error which is: URL not under Sitemap path.
What does this mean and how do I fix it?
Thanks.
__________________
- lucas
The sixth sick sheik's sixth sheep's sick


"People will believe anything if you whisper it..."
0100010001101001011001000010000001111001011011110111010100100000011001010110111001101010011011110111 1001001000000111010001101000011000010111010000111111001000000111011101110111011101110010111001101101 011101010110110001101111001011100110001101101111001011100111010101101011

Reply With Quote
  #2  
Old January 2nd, 2006, 11:54 PM
PWD's Avatar
PWD PWD is online now
Untreated PHP Addict
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2004
Location: 127.0.0.1
Posts: 669 PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level)PWD User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 12 h 33 m 48 sec
Reputation Power: 166
Quote:
On my website I ahve put a sitemap, located at www.domain.com/sitema.xml

1) Make sure to change the file name to sitemap.xml

2)What does your sitemap.xml file have listed? Usually the error you reported comes when you have a URL listed in your sitemap file that doesn't exist in that folder or subdirectory.

The best way I have found to format a Google sitemap file is as follows (feel free to copy & paste this code and save as sitemap.xml and place in your ROOT directory next to your index page):

Code:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
   <url>
      <loc>http://www.yourdomain.com/</loc>
      <lastmod>2005-11-27</lastmod>
      <changefreq>weekly</changefreq>
      <priority>1.0</priority>
   </url>    
</urlset>


Between the <loc> tags: Replace with your website address.
Between <lastmod> tags: Replace with todays date; and then change when ever you update your website's content.

[EDIT]Also, in your Google Sitemaps account, be sure to have your website verified if you haven't already, or Google won't give you their crawls stats...[/EDIT]
__________________
PWD
MCSE, MCSA, MCP, Security+

NEW Windows Administration Forum
Admin Source
Could REALLY, REALLY, REALLY use you and your issues!

Last edited by PWD : January 2nd, 2006 at 11:58 PM.

Reply With Quote
  #3  
Old January 3rd, 2006, 11:27 AM
lucas's Avatar
lucas lucas is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: UK
Posts: 367 lucas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 6 h 30 sec
Reputation Power: 5
Basically my site mpa looks like this
<url>
<loc>http://www.domain.com/page.php</loc>
<lastmod>2005-12-30T04:52:03-06:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
I use phpSitemapNG with a cron job to automatically generate and submit this sitemap to google. Currently sitemaps isnt actually showing any errors, but that might just be because the site hasn't been crawled yet.
Thanks for your input.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignSearch Engine Optimization > Google SItemaps problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway