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?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 troubleshooting → 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?
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
You don't really need google sitemap for punbb .... My forum is indexed just fine. Very fine I might add Google will find you anyway
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";
------------^
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
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.
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.)
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?
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
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
It's useful to ensure ALL of your information gets crawled (at least). It's especially useful with longer topics
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.
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.
Happy to hear it
I have absolutely no problem with the sitemap.php mod for PunBB. Google use it without errors.
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
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)?
Check it out yourself: http://forums.seoworkers.com/sitemap.php
I don't see any duplicates
Edit: Are you maybe noticing viewtopic.php?id=8 and viewforum.php?id=8?
PunBB Forums → PunBB 1.2 troubleshooting → Google sitemap
Powered by PunBB, supported by Informer Technologies, Inc.