News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Sitemap

Started by SlammedDime, May 12, 2007, 05:43:04 PM

Previous topic - Next topic

SlammedDime

<xml has to be on the VERY FIRST line of the document.  If you look at the source code of your page, it's not, it's on the second line.  That means you have an extra space somewhere in your files.  This same space is present on all of your forum pages too (look at the HTML source).  This extra space is either at the beginning of one of your PHP files, or at the end of one of them.  <?php MUST be the very first line of every file, and ?> must be the last.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

ixobixo

#1201
Sorry for asking again SlammedDime, but can you tell me more or less what file should contain that "space"?

I'm looking for it in all smf files but i'ts very hard to do it.

Thanks in advance.

ixobixo

Fixed, had to replace the entire Sources directory.

saosangmo

hi SlammedDime,
thanks for your great mod.
I have installed the latest prettyURL mod, how can I enable SEO for XML sitemap?

http://www.huongtinhyeu.net/index.php?action=sitemap;xml

thanks,
-saosangmo

Dharshan

cool mod, thanks a bunch!
R I P  : Steve Jobs | you made the world today look how it is | Thank you

SlammedDime

Quote from: Slobodan Radosavljevic on October 19, 2009, 12:53:32 PM
I install Sitemap at 1.1.10 and all is fine but when i want to submite map at google says that is not valid (not said that but can't submit it.. i tryed resubmit but same..) link to XML map is mysite.com/forum/index.php?action=sitemap;xml and i put in google webmaster tools and can't accept it  i have either error on XML page

        This XML file does not appear to have any style information associated with it. The document tree is shown below.
     

Any help?

I install sitemap automatic on 1.1.10 with no errors at all.
I need a real link to your site, otherwise I can't help.  As for the 'error' about no style information, that is not an error, just the browser telling you there is no stylesheet associated with the XML document.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

SlammedDime

Quote from: saosangmo on October 19, 2009, 04:13:28 PM
hi SlammedDime,
thanks for your great mod.
I have installed the latest prettyURL mod, how can I enable SEO for XML sitemap?

http://www.huongtinhyeu.net/index.php?action=sitemap;xml

thanks,
-saosangmo
You didn't specify which version of the sitemap you installed ('latest' or 'newest' is not a version).  The Sitemap for SMF 2.0 does not support Pretty Urls yet.  It will when 2.0 RC2 is released.  The version for SMF 1.1.10 has a small bug with the way SEO stuff is done that I'll probably correct when I release the new version for 2.0 RC2 as well.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Slobodan Radosavljevic

Real link which i want to add in google sitemap is http://pro-hack.info/forum/sitemap/?xml

SlammedDime

SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

SlammedDime

Does it give you any errors specifically?
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Slobodan Radosavljevic

No just google not want to accept like sitemap don't why see attachment which i add in previous post.. and says this in error into: Sitemap errors and warnings
   Line    Status    Details
Errors    4    
Paths don't match
We've detected that you submitted your Sitemap using a URL path that includes the www prefix (for instance, http://www.example.com/sitemap.xml). However, the URLs listed inside your Sitemap don't use the www prefix (for instance, http://example.com/myfile.htm).    
URL: http://pro-hack.info/forum/index.php
Problem detected on: Oct 24, 2009

SlammedDime

The error is there in plain text... you've told google that you're site is http://www.pro-hack.info, but your actual site uses http://pro-hack.info... either adjust the settings on your site to use www, or change google to not have www.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

hartiberlin

Does the current version of the Sitemap mod now also
index PortaMX single pages with content in it ?
For example the RSS Feeds
I have put on the start page of my
overunity.de
forum ?

If not, will you soon support it ?

Many thanks.

SlammedDime

It's something to consider, but it probably won't happen soon.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

hartiberlin

Does your sitemap already index your own RSS feeder too ?

As it puts in the RSS postings into the boards,
the Sitemap mod should index these postings, right ?

feline

Quote from: hartiberlin on October 26, 2009, 03:12:32 AM
Does the current version of the Sitemap mod now also
index PortaMX single pages with content in it ?
Sitemap can't indexing single pages from PortaMx, because the content is only created if the page called.

Fel

Nastradini.com

Hello,

I've installed the SMF Sitemap mod but when i open my sitemap the Url's type are: http://www.myname.com/forum/index.php?topic=2793.0 [nofollow] instead of Pretty url http://www.myname.com/forum/BoardName/ [nofollow]

Is it normal or something go wrong?

Arantor

Are you using 2.0? If so, this quote from a few posts up might be of relevance:

Quote from: SlammedDime on October 22, 2009, 11:21:33 PM
You didn't specify which version of the sitemap you installed ('latest' or 'newest' is not a version).  The Sitemap for SMF 2.0 does not support Pretty Urls yet.  It will when 2.0 RC2 is released.  The version for SMF 1.1.10 has a small bug with the way SEO stuff is done that I'll probably correct when I release the new version for 2.0 RC2 as well.

Nastradini.com

I'm using the version for smf 1.1.10 .

hartiberlin

Does the current Sitemap version already work with SMF 2.0 RC2 ?

If not, are there many changes to be made of could you please post a fix ?

Many thanks.

Advertisement: