*

justneedhelp

  • *
  • 4 posts
What is the Probelm with my Sitemap.xml
« on: February 13, 2017, 09:19:28 PM »
Hey,

I buyed All in One Seo Plugin for Osclass. My Problem is that, when I create my Sitemap, it just show the three Standart Categories of my Page. But it doesn't show my sub-categories or the regions or city with at least 1 Item. What is the Problem?

My Sitemap: http://anzeigeneros.de/sitemap.xml

My Settings:
Sitemap Refresh Frequency: Daily
Include Listings: ON
Maximum Count of Listings: 50000

PS: And Yes, I also generated the Sitemap by manual and I didn't changed anything from the Files
« Last Edit: February 13, 2017, 09:21:57 PM by justneedhelp »

*

MB Themes

Re: What is the Probelm with my Sitemap.xml
« Reply #1 on: February 13, 2017, 09:23:36 PM »
@justneedhelp
Only categories, regions, cities and countries that contains at least 1 listing are included.
No search engine would index empty page anyway.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

justneedhelp

  • *
  • 4 posts
Re: What is the Probelm with my Sitemap.xml
« Reply #2 on: February 13, 2017, 09:29:10 PM »
Yes you are right, but all my Regions and Categories have at least 1 listing. Look at my Website http://anzeigeneros.de and look at my Sitemap. I don't know why this Plugin doesn't take the Regions and categories in the Sitemap.

:(

*

MB Themes

Re: What is the Probelm with my Sitemap.xml
« Reply #3 on: February 13, 2017, 09:36:00 PM »
@justneedhelp
Can you:
1) refresh stats for your categories and locations in oc-admin and generate sitemap again
2) if does not help, PM me login to your oc-admin and FTP so I can investigate.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

justneedhelp

  • *
  • 4 posts
Re: What is the Probelm with my Sitemap.xml
« Reply #4 on: February 13, 2017, 10:12:24 PM »
Hey,
it does not work

:(
« Last Edit: February 13, 2017, 10:49:50 PM by justneedhelp »

*

justneedhelp

  • *
  • 4 posts
Re: What is the Probelm with my Sitemap.xml
« Reply #5 on: February 14, 2017, 01:35:40 PM »
Hey I now watched in your Demo Admin panel and createt some Items, but there is the same Problem. The Sitemap doesn't get the Regions and Sub-Categories. The Citiys aren't so important for me.

*

MB Themes

Re: What is the Probelm with my Sitemap.xml
« Reply #6 on: February 14, 2017, 02:12:22 PM »
@justneedhelp
Ok I think I found the issue.
In file:
oc-content/plugins/all_in_one/sitemap_generator.php

find:
Code: [Select]
  $categories = Category::newInstance()->toTree(false);

and change into:
Code: [Select]
  $categories = Category::newInstance()->listAll(false);
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

ColdFusion

  • ***
  • 72 posts
Re: What is the Probelm with my Sitemap.xml
« Reply #7 on: June 19, 2017, 01:10:05 AM »
@frosticek

Was that fixed in v3.0.3? I can't seem to see sub cats either, main are listed few times... I see it's an old topic, but btw - would be a good idea to have release dates in the update log ;)

Cheers

*

MB Themes

Re: What is the Probelm with my Sitemap.xml
« Reply #8 on: June 19, 2017, 01:15:52 PM »
@ColdFusion
I do not remember, just check your file to identify that.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots