Advertisement:

Author Topic: SEO sitemap and XML sitemap  (Read 58513 times)

Offline maestrosite.ru

  • Semi-Newbie
  • *
  • Posts: 89
    • Сопровождение и модификация форумов SMF
Re: SEO sitemap and XML sitemap
« Reply #40 on: July 17, 2012, 06:19:45 AM »
Why you load categories (getBoardIndex) for each HTTP-request? In case hidden links too. For example, action=help.
And...  why it in the themes hook???

in attach - Russian translation
First of all, sorry for my english. По-русски у меня получается значительно лучше.

Проблема на форуме? Сначала посмотрите лог ошибок вашего форума и лог ошибок сайта (error_log)

You can try other modifications - see demo

Offline GL700Wing

  • Full Member
  • ***
  • Posts: 422
  • Gender: Female
Re: SEO sitemap and XML sitemap
« Reply #41 on: July 18, 2012, 08:27:10 AM »
I've just installed the latest version of this mod on a brand new SMF 2.0.2 forum and whenever I click on the 'Move Topic' button that appears at the bottom of a topic multiples of each pair of the following error messages are logged:

http://leslies.id.au/forum/index.php?action=movetopic;topic=1.0
8: Undefined index: child_level
File: /home/lesliesi/public_html/forum/Themes/default/MoveTopic.template.php (main sub template - eval?)
Line: 42

http://leslies.id.au/forum/index.php?action=movetopic;topic=1.0
8: Undefined index: selected
File: /home/lesliesi/public_html/forum/Themes/default/MoveTopic.template.php (main sub template - eval?)
Line: 42


See attached.

Offline alpheus

  • Full Member
  • ***
  • Posts: 580
Re: SEO sitemap and XML sitemap
« Reply #42 on: July 27, 2012, 11:58:49 AM »
I use Pretty Url. Which Codes that I put into my .htaccess please?

Offline Bugo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,463
  • Gender: Male
    • dragomano on GitHub
    • @dragomano on Twitter
    • Russian translations for SMF mods
Re: SEO sitemap and XML sitemap
« Reply #43 on: August 06, 2012, 09:31:42 AM »
Russian translation.

Offline mrintech

  • Full Member
  • ***
  • Posts: 414
  • Gender: Male
Re: SEO sitemap and XML sitemap
« Reply #44 on: August 06, 2012, 10:56:09 AM »
Hi,

The format of an XML sitemap is as follows:

Quote
<url>
<loc>http://abc.com/xyz/</loc>
<lastmod>2012-07-17T13:45:45+00:00</lastmod>
<changefreq>monthly</changefreq>
<priority>0.9</priority>
</url>

I am not 100% sure, but I think your sitemap is HTML sitemap, not XML.

Offline Ghostaunt

  • Semi-Newbie
  • *
  • Posts: 21
Re: SEO sitemap and XML sitemap
« Reply #45 on: August 07, 2012, 03:26:32 PM »
There are issues with section which don't have any posts but where there are sub-board

Google say : "XML missing" For this xml : http://www.team-exodia.fr/forum/index.php?board=100.0&action=kitsitemap;xml [nofollow]
It's this board : http://www.team-exodia.fr/forum/index.php?board=100.0 [nofollow]

Offline Ghostaunt

  • Semi-Newbie
  • *
  • Posts: 21
Re: SEO sitemap and XML sitemap
« Reply #46 on: August 09, 2012, 05:10:15 PM »
Hello, nobody for this issue please ?

Offline mrintech

  • Full Member
  • ***
  • Posts: 414
  • Gender: Male
Re: SEO sitemap and XML sitemap
« Reply #47 on: August 09, 2012, 07:33:14 PM »
There are issues with section which don't have any posts but where there are sub-board

Google say : "XML missing" For this xml : http://www.team-exodia.fr/forum/index.php?board=100.0&action=kitsitemap;xml
It's this board : http://www.team-exodia.fr/forum/index.php?board=100.0

you need to post some threads/topics for sitemap to appear :)

Offline mrintech

  • Full Member
  • ***
  • Posts: 414
  • Gender: Male
Re: SEO sitemap and XML sitemap
« Reply #48 on: August 09, 2012, 07:36:58 PM »
Hi,

The format of an XML sitemap is as follows:

Quote
<url>
<loc>http://abc.com/xyz/</loc>
<lastmod>2012-07-17T13:45:45+00:00</lastmod>
<changefreq>monthly</changefreq>
<priority>0.9</priority>
</url>

I am not 100% sure, but I think your sitemap is HTML sitemap, not XML.

I take my words back :( Sorry  :-\

The MOD definitely creates a XML sitemap. All we need to enter ;xml to view the xml sitemap for any particular board:

Quote
abc.com/index.php?board=100.0&action=kitsitemap;xml

:)

Offline Ghostaunt

  • Semi-Newbie
  • *
  • Posts: 21
Re: SEO sitemap and XML sitemap
« Reply #49 on: August 10, 2012, 07:19:49 AM »
There are issues with section which don't have any posts but where there are sub-board

Google say : "XML missing" For this xml : http://www.team-exodia.fr/forum/index.php?board=100.0&action=kitsitemap;xml [nofollow]
It's this board : http://www.team-exodia.fr/forum/index.php?board=100.0 [nofollow]

you need to post some threads/topics for sitemap to appear :)

Hello thanks for your help, but this section doesn't need any post. I have them in subs sections

Offline mrintech

  • Full Member
  • ***
  • Posts: 414
  • Gender: Male
Re: SEO sitemap and XML sitemap
« Reply #50 on: August 10, 2012, 10:33:06 AM »
There are issues with section which don't have any posts but where there are sub-board

Google say : "XML missing" For this xml : http://www.team-exodia.fr/forum/index.php?board=100.0&action=kitsitemap;xml
It's this board : http://www.team-exodia.fr/forum/index.php?board=100.0

you need to post some threads/topics for sitemap to appear :)

Hello thanks for your help, but this section doesn't need any post. I have them in subs sections

I think the MOD developer can help you

As far as I can say, this plugin can insert URLs in the XML sitemap only when threads/topics are present :)

Offline mkress

  • Jr. Member
  • **
  • Posts: 126
  • Gender: Male
    • markus.kress on Facebook
    • mkress on GitHub
    • @mkress on Twitter
    • augs-burg.de joomla templates
Re: SEO sitemap and XML sitemap
« Reply #51 on: August 10, 2012, 12:43:02 PM »
I will submit an updated version in the next days.

Offline Ghostaunt

  • Semi-Newbie
  • *
  • Posts: 21
Re: SEO sitemap and XML sitemap
« Reply #52 on: August 10, 2012, 12:59:26 PM »
I will submit an updated version in the next days.
You are the best ;). I've tried to change this issue, but don't know how to work smf so thanks again :)

Offline mkress

  • Jr. Member
  • **
  • Posts: 126
  • Gender: Male
    • markus.kress on Facebook
    • mkress on GitHub
    • @mkress on Twitter
    • augs-burg.de joomla templates
Re: SEO sitemap and XML sitemap
« Reply #53 on: August 12, 2012, 07:22:41 AM »
please uninstall the current version and install newest version (2.2.1) from  http://custom.simplemachines.org/mods/index.php?mod=3393

Offline Ghostaunt

  • Semi-Newbie
  • *
  • Posts: 21
Re: SEO sitemap and XML sitemap
« Reply #54 on: August 12, 2012, 07:34:31 AM »
Thanks i'll try it quickly :)

Offline Ghostaunt

  • Semi-Newbie
  • *
  • Posts: 21
Re: SEO sitemap and XML sitemap
« Reply #55 on: August 12, 2012, 07:50:33 AM »
Same error I think it's because we have any xml tags into the <urlset> tag.
I think you must don't generate the xml if there is any data

Offline mkress

  • Jr. Member
  • **
  • Posts: 126
  • Gender: Male
    • markus.kress on Facebook
    • mkress on GitHub
    • @mkress on Twitter
    • augs-burg.de joomla templates
Re: SEO sitemap and XML sitemap
« Reply #56 on: August 12, 2012, 08:06:17 AM »
@maestrosite.ru I have optimized the use of getBoardIndex - thanks for your suggestion.
will include russian translation in next version.

Offline mkress

  • Jr. Member
  • **
  • Posts: 126
  • Gender: Male
    • markus.kress on Facebook
    • mkress on GitHub
    • @mkress on Twitter
    • augs-burg.de joomla templates
Re: SEO sitemap and XML sitemap
« Reply #57 on: August 12, 2012, 08:08:33 AM »
you only have to submit the xml index-file to google:
...forum/index.php?action=kitsitemap;xml

it is not necessary to include every single board, because boards are included in the index file....

Offline mrintech

  • Full Member
  • ***
  • Posts: 414
  • Gender: Male
Re: SEO sitemap and XML sitemap
« Reply #58 on: August 22, 2012, 05:41:55 AM »
Hi mkress,

I have recently started using your MOD and it's very useful. Thanks a lot :)

I need your help with following:

I am using Pretty URLs Mod and my normal sitemap ( http://examdunia.com/index.php?action=kitsitemap ) have links which Pretty URLs set for my Boards and Topics. But, the XML Sitemap ( http://examdunia.com/index.php?action=kitsitemap;xml ) have default SMF URLs, instead of Pretty URLs!!!

Is it possible to have Pretty URLs in the XML Sitemap as well, for all boards?

Please help

Thanks a lot :)

Offline streetdj

  • Newbie
  • *
  • Posts: 1
Re: SEO sitemap and XML sitemap
« Reply #59 on: August 24, 2012, 11:50:44 AM »
Hi,

First of all thanks for the mod. It seems very useful.

I have the same problem like everyone. Google does'nt understand XML.

I added to google like: .../index.php?action=kitsitemap;xml
google says OK but it shows this:
(This XML file does not appear to have any style information associated with it. The document tree is shown below.
(<sitemapindex xmlns="....sitemaps.org/schemas/sitemap/0.9">)
<sitemap>
<loc>
(livingist.com/index.php?board=3.0&action=kitsitemap;xml)
</loc>
</sitemap>
<sitemap>
<loc>
(livingist.com/index.php?board=2.0&action=kitsitemap;xml)
</loc>
</sitemap>
</sitemapindex>

Also I linked them from htaccess like;
#Sitemap .XML
RewriteEngine on
RewriteRule ^sitemap.xml$ ./index.php?action=kitsitemap;xml [L,QSA]

Btw, should I correct my robots.txt from sitemap.xml to /index.php?action=kitsitemap

Waiting your comments.
Thanks,