XML Sitemap

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 anni tempo fa
No. I can attest to this because I have been in the same situation. You will never get 100000 products listed in Google. I'd focus more on your big profit items or the items you want to sell more of. Add those to the top and then keep appending from their. I'd stop at about 10000 or so.
13 anni tempo fa
I just attempted to submit a sitemap to Bing and received the following error:

Severity: Error Line: 5 Position: 25 Message: The 'http://www.sitemaps.org/schemas/sitemap/0.9:changefreq' element is invalid - The value 'Weekly' is invalid according to its datatype 'http://www.sitemaps.org/schemas/sitemap/0.9:tChangeFreq' - The Enumeration constraint failed.

Looking at http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd we find:

<xsd:restriction base="xsd:string">
    ...
   <xsd:enumeration value="daily"/>
   <xsd:enumeration value="weekly"/>
   <xsd:enumeration value="monthly"/>
    ...
</xsd:restriction>

It would appear that google is less-strict on enforcing the schema, I've fixed locally but is there a view to change SitemapGenerator in the future to conform to the schema?

thanks,
tim.
13 anni tempo fa
well nice sharing thanks, but still i m confuse as i have set true from category and products pages too but still product any page is not able to be index in sitemapseo.aspx.
13 anni tempo fa
When I submit my domain.com/sitemap.aspx to my Google Web Tools account I get a red X on the status. I read this entire thread and I still don't know what is the answer to conform nopcommerce generated sitemap to something Google will accept. Anyone have a clear answer?
12 anni tempo fa
BUMP!

Just thought I would bump this topic.

I am trying to submit a sitemap to google in webmaster tools however google no longer accepts html based sitemaps as suggested by a few in this topic.

Is there a way to convert sitemap.aspx to a useable format such as xml?
12 anni tempo fa
[email protected] wrote:
BUMP!

Just thought I would bump this topic.

I am trying to submit a sitemap to google in webmaster tools however google no longer accepts html based sitemaps as suggested by a few in this topic.

Is there a way to convert sitemap.aspx to a useable format such as xml?


Hi, You are looking at the wrong location.

Just go to your website and use this link: www.yourdomain.com/sitemapseo.aspx

This page is already in the compatible format that google webmaster accepts. Just add this page of your website in the google webmaster and you will be able to keep track of your website.

Let me know if you face any problem...
12 anni tempo fa
abcd_12345 wrote:

Hi, You are looking at the wrong location.

Just go to your website and use this link: www.yourdomain.com/sitemapseo.aspx

This page is already in the compatible format that google webmaster accepts. Just add this page of your website in the google webmaster and you will be able to keep track of your website.

Let me know if you face any problem...


It may have worked before but not anymore.

Google returns an error when referencing the page that it no longer accepts html sitemap pages however I just used an online tool to convert to xml and google is indexing now. Thanks anyway.
12 anni tempo fa
LevGe wrote:
1) what's the use of generating XML ?

2) how it is related with SEO ?

3) what do we do with XML file , we save it somewhere ? export it somewhere in google ?

Please advise

1) It lets google index your site better.
2) If google indexes your site better then also inner pages in the site will appear in google search.
3) Register with google webmaster tools, then submit your sitemap there (I mean provide google the link to the xml file)
see here for more info http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156184


1) not only google "major search engines"
2) not only google "major search engines"
3) not only google "major search engines"
12 anni tempo fa
If like me you've changed the routing from p > products & c > category the sitemap generator will still output the old routes. I needed to amend the SitemapGenerator.cs file in the Services project.


private void WriteCategories(int parentCategoryId)
        {
            var categories = _categoryService.GetAllCategoriesByParentCategoryId(parentCategoryId, false);
            foreach (var category in categories)
            {
                //TODO add a method for getting URL (use routing because it handles all SEO friendly URLs)
                // Change from c to category
                var url = string.Format("{0}category/{1}/{2}", _webHelper.GetStoreLocation(false), category.Id, category.GetSeName());
                var updateFrequency = UpdateFrequency.Weekly;
                var updateTime = category.UpdatedOnUtc;
                WriteUrlLocation(url, updateFrequency, updateTime);

                WriteCategories(category.Id);
            }
        }

        private void WriteManufacturers()
        {
            var manufacturers = _manufacturerService.GetAllManufacturers(false);
            foreach (var manufacturer in manufacturers)
            {
                //TODO add a method for getting URL (use routing because it handles all SEO friendly URLs)
                // Change from m to manufacturer
                var url = string.Format("{0}manufacturer/{1}/{2}", _webHelper.GetStoreLocation(false), manufacturer.Id, manufacturer.GetSeName());
                var updateFrequency = UpdateFrequency.Weekly;
                var updateTime = manufacturer.UpdatedOnUtc;
                WriteUrlLocation(url, updateFrequency, updateTime);
            }
        }

        private void WriteProducts()
        {
            var products = _productService.GetAllProducts(false);
            foreach (var product in products)
            {
                //TODO add a method for getting URL (use routing because it handles all SEO friendly URLs)
                // Change from p to products
                var url = string.Format("{0}products/{1}/{2}", _webHelper.GetStoreLocation(false), product.Id, product.GetSeName());
                var updateFrequency = UpdateFrequency.Weekly;
                var updateTime = product.UpdatedOnUtc;
                WriteUrlLocation(url, updateFrequency, updateTime);
            }
        }


Recompile the project and add the services.dll into the BIN folder. Your SitemapGenerator will now output the correct links.
12 anni tempo fa
can we have two sitemap in admin panel  in nop2.00
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.