1 (edited by helpme 2006-08-01 06:25)

Topic: Google sitemap

I have downloaded this: http://www.punres.org/viewtopic.php?id=1639
and tryed to upload it on https://www.google.com/webmasters/sitemaps/
but it isent woring becase the sitemap has to be in xml-format. How do I fix that?

Re: Google sitemap

copy the outptted text and paste it to a new file and save it as "sitemap.xml" preferably in something OTHER than notepad. suggestion: Notepad++ http://notepad-plus.sourceforge.net/uk/site.htm

~James
FluxBB - Less is more

3

Re: Google sitemap

You don't really need google sitemap for punbb wink .... My forum is indexed just fine. Very fine I might add big_smile    Google will find you anyway

4 (edited by helpme 2006-08-01 08:57)

Re: Google sitemap

Dr.Jeckyl wrote:

copy the outptted text and paste it to a new file and save it as "sitemap.xml" preferably in something OTHER than notepad. suggestion: Notepad++ http://notepad-plus.sourceforge.net/uk/site.htm

I have done that now but I got an error:

$output .= '<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">'."\n";
------------^

Re: Google sitemap

helpme wrote:

I have downloaded this: http://www.punres.org/viewtopic.php?id=1639
and tryed to upload it on https://www.google.com/webmasters/sitemaps/
but it isent woring becase the sitemap has to be in xml-format. How do I fix that?

There's an option for it to output the results to XML files
And since when does the sitemap need to end in .xml? The PHP file should work perfectly

Re: Google sitemap

Smartys wrote:

There's an option for it to output the results to XML files
And since when does the sitemap need to end in .xml? The PHP file should work perfectly

Well it doesnt because .php is not a supported format.

http://www.google.com/support/webmaster … topic=8514

Re: Google sitemap

You can put XML data in a file and give it any extension you want. However, I don't know if that causes any problems with Google. (I use .xml.gz myself.)

Re: Google sitemap

guardian34 wrote:

You can put XML data in a file and give it any extension you want. However, I don't know if that causes any problems with Google. (I use .xml.gz myself.)

Can u upload your file here?

9 (edited by Smartys 2006-08-01 20:27)

Re: Google sitemap

helpme: That says nothing about a file extension nor does it say anything specifically about PHP. Since this is how I've seen a lot of sitemaps generators written, I have a feeling you're wrong.
Have you tried to add the page as a sitemap?

Edit: That page is talking about the content of files, not the type of files. My PHP generates XML that follows those guidelines

10

Re: Google sitemap

Please can you help me telling me why you need sitemap ? There is no use of it really. If you get enough backlinks your site or forum will get indexed just fine and I find punbb very good in SEO ... I even made some tests against mybb and punbb proved much better even when mybb had sef urls .... so no need for sitemap here

Re: Google sitemap

It's useful to ensure ALL of your information gets crawled (at least). It's especially useful with longer topics

Re: Google sitemap

If you provide google sitemap only new or modifed pages, then they will be crawled faster than google again going through whole site and discovering itself new pages.

13

Re: Google sitemap

It works now and really good! I can really recommend using this tool. 5 days ago I had like 300 pages indexed, now I have 5000! awsome.

Re: Google sitemap

Happy to hear it smile

Re: Google sitemap

I have absolutely no problem with the sitemap.php mod for PunBB. Google use it without errors.

16 (edited by Webnauts 2006-11-09 16:35)

Re: Google sitemap

I tested the sitemap 1.0.2b generator, and I have noticed that it produces duplicated urls.

If someone would fix that issue, the generator would be an excellent tool. It would even be more usable, if the output would be an .xml file instead of PHP, and that not only for google.

I am looking forward to use it, if it will go so far. For your info, I tried it here on our new forums here: http://forums.seoworkers.com

Re: Google sitemap

Can you give me an example of the duplicate URLs?
And it generates valid XML. Why would you need an actual .xml file (although the script does generate it if you set $dynamic to false)?

Re: Google sitemap

Check it out yourself: http://forums.seoworkers.com/sitemap.php

Re: Google sitemap

I don't see any duplicates hmm

Edit: Are you maybe noticing viewtopic.php?id=8 and viewforum.php?id=8?