Next Webinar: Maximizing Magento - Get the Most out of Promotions. Register Today!

Magento

Open Source eCommerce Evolved

Magento Forum

   
Page 2 of 3
Generate Google Sitemaps
 
Andrey666
Jr. Member
 
Total Posts:  17
Joined:  2008-04-16
 

deleted by author

 
Magento Community Magento Community
Magento Community
Magento Community
 
Andrey666
Jr. Member
 
Total Posts:  17
Joined:  2008-04-16
 

well i can leave it blank… that is odd ... my version is still 1.0 though

 
Magento Community Magento Community
Magento Community
Magento Community
 
bowers2000
Member
 
Total Posts:  31
Joined:  2008-05-21
 

Where should I point the cron script to?  What file?  There are four files in magento named cron.php.  Which one is it?  I tried the one in the base folder and the one in the sitemap with no luck. 

Could someone please give me a hand?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Dekard
Member
 
Total Posts:  56
Joined:  2008-06-03
 

Put me on the list of people who are waiting for this to be fixed by Varien. Its just not a good idea to hack core files to fix a bug like this.

 
Magento Community Magento Community
Magento Community
Magento Community
 
pgpdesign
Jr. Member
 
Total Posts:  25
Joined:  2008-04-15
 

This is a good tool and works for me. I have only one problem - on my site I have products Inactive but those products apears in sitemap. Google Webmaster Tools warning me about that. Can be somehow changed (the code) to put only active products in sitemap?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Dekard
Member
 
Total Posts:  56
Joined:  2008-06-03
 

I’m jealous, I can’t get it to work without hacking core files.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Very Clever Stuff
Sr. Member
 
Avatar
Total Posts:  76
Joined:  2008-05-06
Sheffield, UK
 

Works great, cheers.

 Signature 

Dave Speake
Very Clever Stuff

 
Magento Community Magento Community
Magento Community
Magento Community
 
adam777
Jr. Member
 
Total Posts:  30
Joined:  2008-05-08
 
Princeanil - 04 June 2008 09:25 AM

Ok i’ve been able to get the sitemap generated using this. Just one problem -

If i use only / in the path in Catalog -> Google Sitemap , it doesnt work. Instead of http://www.mystore.com/sitemap.xml, it tries to create http://www.mystore.com//sitemap.xml - notice the double /

If i use anything else in the path, like map/ , then it works and creates http://www.mystore.com/map/sitemap.xml

Yes I have the same problem an I’m always keeping my site up to date with the downloader…

Why do we ned to set the Cron Jobs as the “<changefreq>” in the sitemap.xml should do all the work?
>>> I may be wrong of course smile

http://www.sitemaps.org/protocol.php#xmlTagDefinitions

<changefreq> optional How frequently the page is likely to change. This value provides general information to search engines and may not correlate exactly to how often they crawl the page. Valid values are:

always
hourly
daily
weekly
monthly
yearly
never
The value “always” should be used to describe documents that change each time they are accessed. The value “never” should be used to describe archived URLs.

Please note that the value of this tag is considered a hint and not a command. Even though search engine crawlers may consider this information when making decisions, they may crawl pages marked “hourly” less frequently than that, and they may crawl pages marked “yearly” more frequently than that. Crawlers may periodically crawl pages marked “never” so that they can handle unexpected changes to those pages.

 
Magento Community Magento Community
Magento Community
Magento Community
 
adam777
Jr. Member
 
Total Posts:  30
Joined:  2008-05-08
 
Princeanil - 04 June 2008 09:25 AM

Ok i’ve been able to get the sitemap generated using this. Just one problem -

If i use only / in the path in Catalog -> Google Sitemap , it doesnt work. Instead of http://www.mystore.com/sitemap.xml, it tries to create http://www.mystore.com//sitemap.xml - notice the double /

If i use anything else in the path, like map/ , then it works and creates http://www.mystore.com/map/sitemap.xml

Hi Princeanil

Generate the map as per usual with your map/ path, then display it on your site http://www.yoursite.com/map/sitemap.xml , then rightclick>>view source, save as sitemap.xml, then move this new file to your root directory, then it displays as http://www.yoursite.com/sitemap.xml smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
Very Clever Stuff
Sr. Member
 
Avatar
Total Posts:  76
Joined:  2008-05-06
Sheffield, UK
 

I just use / as the path, and it works fine!

adam777 - 02 July 2008 11:04 PM

Why do we ned to set the Cron Jobs as the “<changefreq>” in the sitemap.xml should do all the work?

You are getting 2 things confused. The ‘changefreq’ tells the search engines how frequently they should check the page for updates NOT how often the sitemap is updated.

The sitemap must be updated whenever a new page, product, category, etc. is updated, so that is what the cron does.

 Signature 

Dave Speake
Very Clever Stuff

 
Magento Community Magento Community
Magento Community
Magento Community
 
comdog
Jr. Member
 
Total Posts:  4
Joined:  2008-06-30
 

Hi.. I am not a programmer and also very littie knowlege of internet anyone help me to generate google siteamp...?

I did below
admin> configuration>google sitmap
Then generated settings > enabled

Catalogue>googlesitemap>add site map
Then File name: sitemap.xml
path:sitemap
storeview: English

But I could not find and How to do it below step?

To generate sitemap with id 1:
admin/sitemap/generate/sitemap_id/1

where is above folders or menus???

 
Magento Community Magento Community
Magento Community
Magento Community
 
karynn
Member
 
Avatar
Total Posts:  69
Joined:  2008-02-07
 

You simply type that URL in your browser:

i.e.  http://yourdomain.com/admin/sitemap/generate/sitemap_id/1

Replacing the domain and sitemap ID appropriately. Also, if you have Magento installed in a subdirectory, include that as well… i.e. http://yourdomain.com/sub/admin/sitemap/generate/sitemap_id/1

 
Magento Community Magento Community
Magento Community
Magento Community
 
comdog
Jr. Member
 
Total Posts:  4
Joined:  2008-06-30
 

Thanks Karynn

I did it !!!!

many thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
NathanJ
Jr. Member
 
Total Posts:  30
Joined:  2008-04-07
 

Moshe, I’m having the same problem as Ata…

WarningInvalid argument supplied for foreach()  in /home/hanwei/public_html/app/code/core/Mage/Sitemap/Model/Sitemap.php on line 80
Trace
:
#0 /home/hanwei/public_html/app/code/core/Mage/Sitemap/Model/Sitemap.php(80): mageCoreErrorHandler(2, 'Invalid argumen...', '/home/hanwei/pu...', 80, Array)
#1 /home/hanwei/public_html/app/code/core/Mage/Adminhtml/controllers/SitemapController.php(206): Mage_Sitemap_Model_Sitemap->generateXml()
#2 /home/hanwei/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(342): Mage_Adminhtml_SitemapController->generateAction()
#3 /home/hanwei/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php(148): Mage_Core_Controller_Varien_Action->dispatch('generate')
#4 /home/hanwei/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(146): Mage_Core_Controller_Varien_Router_Admin->match(Object(Mage_Core_Controller_Request_Http))
#5 /home/hanwei/public_html/app/Mage.php(427): Mage_Core_Controller_Varien_Front->dispatch()
#6 /home/hanwei/public_html/index.php(40): Mage::run()
#7 {main}

I checked out the Wiki, but am not familiar with the Store View concept. Regardless, there are no Store View options at all, anywhere in the Category Manager for me.

 
Magento Community Magento Community
Magento Community
Magento Community
 
tinotriste
Jr. Member
 
Avatar
Total Posts:  7
Joined:  2008-09-09
Bolton, UK
 

It works like a treat thanks @dev722z !

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
Page 2 of 3
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
40934 users|342 users currently online|87586 forum posts