XML Sitemaps Generator

Author Topic: xml sitemap not liking root relative URLS  (Read 14981 times)

nmjudy

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
xml sitemap not liking root relative URLS
« on: November 04, 2008, 04:05:04 AM »
I used xml sitemap generator a couple of months ago and it seemed to work great on a 5000+ page site.

I recently changed the linking structure on my pages to be root relative instead of document relative because of issues I saw in Google Webmaster Tools. It appeared that Google could not figure out how to go up 2 levels to find a directory. Forums I read suggested root relative URLS vs document relative URLS.

I use server-side inlcudes on my pages for topic navigation. The SSI's also use either root relative or full path absolute links. I made no changes to SSI files.

I just tried running xml sitemap generator and it went bonkers. It was spidering pages like:
/examplepage.html/http://www.example.com/dir1/dir2/mypage.htmlhttp://www.example.com/dir1/dir2/mypage.htmlhttp://www.example.com/dir1/dir2/mypage.html

I was able to clobber the program - it had gotten up to 21,000+ pages indexed. Am I breaking my site by changing the links?  What do you think the problem is?  Would adding a base href tag to each page help?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: xml sitemap not liking root relative URLS
« Reply #1 on: November 04, 2008, 09:44:16 PM »
Hello,

looks like the links are included incorrectly on your pages, can you PM me an example (real) URL to check it?
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2