Zen Cart Logo

SitemapXML v.2

Views: 613,446

Results 461 to 480 of 2,226
17 Aug 2010, 8:58 PM
#461
mataleo avatar

mataleo

New Zenner

Join Date:
Aug 2010
Posts:
34
Plugin Contributions:
0

SitemapXML v.2

mataleo:

your solution does not work with seo ultimate urls on, when go in to product, the page not load, error...

how about:

curl -s :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> <head> <title>SiteMapXML : Vodeoo, Wholesale Electronic Gadgets and Top Designer Clothes.</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="keywords" content="Shoes Electronics shoes, clothes, t-shirt, adidas, nike, superdry, Calvin Klein, ED HARDY, Ben Sherman, D&G, Crosshatch, electronics, gadgets, dvd, gps, chinese wholesale, china dropship, china electronics, cheap electronics SiteMapXML" /> <meta name="description" content="Vodeoo : SiteMapXML - Shoes Electronics shoes, clothes, t-shirt, adidas, nike, superdry, Calvin Klein, ED HARDY, Ben Sherman, D&G, Crosshatch, electronics, gadgets, dvd, gps, chinese wholesale, china dropship, china electronics, cheap electronics" /> <meta http-equiv="imagetoolbar" content="no" /> <meta name="author" content="The Zen Cart™ Team and others" /> <meta name="generator" content="shopping cart program by Zen Cart™, <http://www.zen-cart.com> eCommerce" />

<base href="http://vodeoo.com/" />

What last line is? what file is it in?

ok fixed

edit configuration files

17 Aug 2010, 8:59 PM
#462
mataleo avatar

mataleo

New Zenner

Join Date:
Aug 2010
Posts:
34
Plugin Contributions:
0

Re: SitemapXML v.2

BlessIsaacola:

You need to set generate language id to false on the admin side.

fixed, thanks

17 Aug 2010, 9:03 PM
#463
mataleo avatar

mataleo

New Zenner

Join Date:
Aug 2010
Posts:
34
Plugin Contributions:
0

Re: SitemapXML v.2

i got one more question

do I add only sitemapindex.xml in google webmasters and yahoo ? as its got all other map links in it? so i not double links

like i should not add sitemapcategories.xml there as its already in sitemapindex.xml ? is that right?

cuz i see sitemapindex.xml is enough for google, but cant see if its ok with yahoo?

thanks

17 Aug 2010, 9:44 PM
#464
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: SitemapXML v.2

mataleo:

i got one more question

do I add only sitemapindex.xml in google webmasters and yahoo ? as its got all other map links in it? so i not double links

like i should not add sitemapcategories.xml there as its already in sitemapindex.xml ? is that right?

cuz i see sitemapindex.xml is enough for google, but cant see if its ok with yahoo?

thanks

sitemapindex.xml is the only link you need to submit as they are all smart enough to process the links inside that file. You also want to include this in your robot.txt file. If you want to submit individual sitemap you can do that but then you will not submit sitemapindex.xml in that case.

18 Aug 2010, 8:45 PM
#465
mataleo avatar

mataleo

New Zenner

Join Date:
Aug 2010
Posts:
34
Plugin Contributions:
0

Re: SitemapXML v.2

BlessIsaacola:

sitemapindex.xml is the only link you need to submit as they are all smart enough to process the links inside that file. You also want to include this in your robot.txt file. If you want to submit individual sitemap you can do that but then you will not submit sitemapindex.xml in that case.

thanks, thats what i thought

so what i do after add new products and categories?, (i got crontab set up already), so cron is generating sitemap everyday, so i dont need to do it manaly, right? do I have to ping search engines?, or just leave it, and they will find it anyway (yahoo, goodle) ?(ping - step 2 in zen admin setemaps)

thanks

19 Aug 2010, 8:40 PM
#466
celtic avatar

celtic

Zen Follower

Join Date:
Feb 2010
Posts:
154
Plugin Contributions:
0

Re: SitemapXML v.2

Hi,

I've just tried to install sitemapXML, but I'm a little bit lost I think...

As per instructions document:

Install:

  1. Unzip and upload all files to your store directory;
  2. Go to Admin->Tools->Install SQL Patches and install install.sql.
  3. Go to Admin->Configuration->Google Sitemap Configuration and setup all parameters
  4. Go to Admin->Tools>Google XML Sitemap (If error messages occur, change permissions on the XML files to 777);

My questions:

  1. Presumably I shouldn't be putting the install.sql and uninstal.sql into my store root folder should I?
  2. This step went OK.
  3. This was OK, except it is now called Sitemap XML in the menu.
  4. THERE IS NO ADMIN>TOOLS>Sitemap XML option. Should I have a menu option here to click on???

I'm running zencart 1.3.9f with no other mods.

Now that it is presumably installed, how do I generate the sitemaps?

Thanks for any help.

20 Aug 2010, 10:22 AM
#467
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: SitemapXML v.2

Celtic:

Hi,

I've just tried to install sitemapXML, but I'm a little bit lost I think...

As per instructions document:

Install:

  1. Unzip and upload all files to your store directory;
  2. Go to Admin->Tools->Install SQL Patches and install install.sql.
  3. Go to Admin->Configuration->Google Sitemap Configuration and setup all parameters
  4. Go to Admin->Tools>Google XML Sitemap (If error messages occur, change permissions on the XML files to 777);

My questions:

  1. Presumably I shouldn't be putting the install.sql and uninstal.sql into my store root folder should I?
  2. This step went OK.
  3. This was OK, except it is now called Sitemap XML in the menu.
  4. THERE IS NO ADMIN>TOOLS>Sitemap XML option. Should I have a menu option here to click on???

I'm running zencart 1.3.9f with no other mods.

Now that it is presumably installed, how do I generate the sitemaps?

Thanks for any help.

  1. Presumably I shouldn't be putting the install.sql and uninstal.sql into my store root folder should I?That is correct, you shouldn't have uploaded theses at all. You open up the install.sql statement and copy and paste it into you admin/tools/install_sql_patches. You then should have what you are missing under tools. If you get an error after trying to create a sitemap follow these instructions.
    http://www.zen-cart.com/forum/showpost.php?p=917398&postcount=447
21 Aug 2010, 1:18 PM
#468
sachith avatar

sachith

New Zenner

Join Date:
Jul 2010
Posts:
9
Plugin Contributions:
0

Re: SitemapXML v.2

Invalid URLs in the site map

I've installed simple seo url with link alias on. When I generate the sitemaps all my products URLs are generated as follows.

http://www.mysite.co.uk/-c-0/products_name1
http://www.mysite.co.uk/-c-0/products_name2
http://www.mysite.co.uk/-c-0/products_name3

etc

But the categories URLs are correct.

Have I done something wrong ? Can someone help me to fix this error.

Many Thanks

21 Aug 2010, 6:36 PM
#469
whiskyfive avatar

whiskyfive

New Zenner

Join Date:
Sep 2009
Posts:
12
Plugin Contributions:
0

Re: SitemapXML v.2

Hope this is an easy fix....a few other people had similar issues but couldn't find a reply that fixed them.

Whenever I try and generate my sitemaps from within admin, I get:

SiteMapXML (v 2.1.0 30.04.2009 10:35)
Categories Sitemap
Failed to open file "sitemapcategories.xml"!!!
File http://www.[mysite].com/sitemapcategories.xml. Written 0 items (0 bytes), Filesize: 0 bytes
Ezpages Sitemap
Failed to open file "sitemapezpages.xml"!!!
File http://www.[mysite].com/sitemapezpages.xml. Written 0 items (0 bytes), Filesize: 0 bytes
Products Sitemap
Failed to open file "sitemapproducts.xml"!!!
File http://www.[mysite].com/sitemapproducts.xml. Written 0 items (0 bytes), Filesize: 0 bytes
Reviews Sitemap
Failed to open file "sitemapreviews.xml"!!!
File http://www.[mysite].com/sitemapreviews.xml. Written 0 items (0 bytes), Filesize: 0 bytes
Sitemap Index
Failed to open file "sitemapindex.xml"!!!
Total Execution Time 0:0.0140

All the files are CHMOD 777 - and have also experimented with 644.

The configuration group works fine.

If I click on one of the links in the report above I get:

XML Parsing Error: no element found
Location: http://www.[mysite].com/sitemapcategories.xml
Line Number 1, Column 1:

Obv I've change my site domain to [mysite] :-)

Been wandering the forums looking for a solution for the last 3 hours without success.

Also - the file googlesitemap.php.txt - should I be removing the .txt off the end? Nothing in the instructions about it. I tested doing that but no joy :-(

Thanks in advance!

21 Aug 2010, 7:16 PM
#470
gaffettape avatar

gaffettape

Zen Follower

Join Date:
May 2009
Posts:
433
Plugin Contributions:
0

Re: SitemapXML v.2

WhiskyFive:

Hope this is an easy fix....a few other people had similar issues but couldn't find a reply that fixed them.

Whenever I try and generate my sitemaps from within admin, I get:

SiteMapXML (v 2.1.0 30.04.2009 10:35)
Categories Sitemap
Failed to open file "sitemapcategories.xml"!!!
File http://www.[mysite].com/sitemapcategories.xml. Written 0 items (0 bytes), Filesize: 0 bytes
Ezpages Sitemap
Failed to open file "sitemapezpages.xml"!!!
File http://www.[mysite].com/sitemapezpages.xml. Written 0 items (0 bytes), Filesize: 0 bytes
Products Sitemap
Failed to open file "sitemapproducts.xml"!!!
File http://www.[mysite].com/sitemapproducts.xml. Written 0 items (0 bytes), Filesize: 0 bytes
Reviews Sitemap
Failed to open file "sitemapreviews.xml"!!!
File http://www.[mysite].com/sitemapreviews.xml. Written 0 items (0 bytes), Filesize: 0 bytes
Sitemap Index
Failed to open file "sitemapindex.xml"!!!
Total Execution Time 0:0.0140

All the files are CHMOD 777 - and have also experimented with 644.

The configuration group works fine.

If I click on one of the links in the report above I get:

XML Parsing Error: no element found
Location: http://www.[mysite].com/sitemapcategories.xml
Line Number 1, Column 1:

Obv I've change my site domain to [mysite] :-)

Been wandering the forums looking for a solution for the last 3 hours without success.

Also - the file googlesitemap.php.txt - should I be removing the .txt off the end? Nothing in the instructions about it. I tested doing that but no joy :-(

Thanks in advance!

Had the same problem a few days ago here's the fix:

http://www.zen-cart.com/forum/showpost.php?p=896900&postcount=416

21 Aug 2010, 9:45 PM
#471
whiskyfive avatar

whiskyfive

New Zenner

Join Date:
Sep 2009
Posts:
12
Plugin Contributions:
0

Re: SitemapXML v.2

gaffettape:

Had the same problem a few days ago here's the fix:

http://www.zen-cart.com/forum/showpost.php?p=896900&postcount=416

Hi,

Thanks for the response, but I tried to follow the instructions and didn't have any joy.

In /includes/.htaccess there was no line with:

<FilesMatch ".*.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF)$">

(It also wasn't in /.htaccess)

The content was:

<Files *.php>
Order Deny,Allow
Deny from all
</Files>

I did put in the line below and test - but no joy:

<FilesMatch ".*.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF|xsl|XSL)$">

Was I looking in the wrong place?

21 Aug 2010, 11:43 PM
#472
gaffettape avatar

gaffettape

Zen Follower

Join Date:
May 2009
Posts:
433
Plugin Contributions:
0

Re: SitemapXML v.2

What Zen Cart version are you using?

22 Aug 2010, 12:31 AM
#473
whiskyfive avatar

whiskyfive

New Zenner

Join Date:
Sep 2009
Posts:
12
Plugin Contributions:
0

Re: SitemapXML v.2

Zen 1.38

22 Aug 2010, 11:09 AM
#474
gaffettape avatar

gaffettape

Zen Follower

Join Date:
May 2009
Posts:
433
Plugin Contributions:
0

Re: SitemapXML v.2

WhiskyFive:

Zen 1.38
Ahh ok buddy, sorry but the fix I was talking relates to Zen Cart v1.3.9x (due to the introduction of .htaccess based safety measures throughout the various Zen Cart directories).

23 Aug 2010, 9:16 PM
#475
celtic avatar

celtic

Zen Follower

Join Date:
Feb 2010
Posts:
154
Plugin Contributions:
0

Re: SitemapXML v.2

countrycharm:

That is correct, you shouldn't have uploaded theses at all. You open up the install.sql statement and copy and paste it into you admin/tools/install_sql_patches. You then should have what you are missing under tools. If you get an error after trying to create a sitemap follow these instructions.
http://www.zen-cart.com/forum/showpost.php?p=917398&postcount=447

Thanks countrycharm, but what you've said here doesn't seem to be correct.

I have already copy and pasted the install.sql contents into the admin/tools/install_sql_patches section which then went ahead and created a menu entry under configuration/sitemap xml which lets me change the various settings.

What I don't have is any new menu items under the Tools menu to allow me to create sitemaps. I've taken a look through the sql statements in the install.sql file, and all that seems to do is create the menu entry under configuration/sitemap xml.

I'm not getting any errors when generating a sitemap as I don't have an option anywhere to generate one.

Any further help on this would be greatly appreciated.

C.

23 Aug 2010, 9:28 PM
#476
celtic avatar

celtic

Zen Follower

Join Date:
Feb 2010
Posts:
154
Plugin Contributions:
0

Re: SitemapXML v.2

countrycharm:

That is correct, you shouldn't have uploaded theses at all. You open up the install.sql statement and copy and paste it into you admin/tools/install_sql_patches. You then should have what you are missing under tools. If you get an error after trying to create a sitemap follow these instructions.
http://www.zen-cart.com/forum/showpost.php?p=917398&postcount=447

Celtic:

Thanks countrycharm, but what you've said here doesn't seem to be correct.

I have already copy and pasted the install.sql contents into the admin/tools/install_sql_patches section which then went ahead and created a menu entry under configuration/sitemap xml which lets me change the various settings.

What I don't have is any new menu items under the Tools menu to allow me to create sitemaps. I've taken a look through the sql statements in the install.sql file, and all that seems to do is create the menu entry under configuration/sitemap xml.

I'm not getting any errors when generating a sitemap as I don't have an option anywhere to generate one.

Any further help on this would be greatly appreciated.

C.

Couldn't edit my original post above so...

#EDIT#

I've just read this thread. As per standard security precautions I have of course renamed my own admin folder, and some of the sitemap files got dumped into the 'admin' folder not my renamed one.

Problem sorted, thanks.

23 Aug 2010, 11:41 PM
#477
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: SitemapXML v.2

Celtic:

Couldn't edit my original post above (why only a 7 minute window????) so...

#EDIT#

I've just read this thread. As per standard security precautions I have of course renamed my own admin folder, and some of the sitemap files got dumped into the 'admin' folder not my renamed one.

Problem sorted, thanks.
Yes that happens sometime. Always a good idea to rename your admin folder for security reason, but never forget when adding on any add on change it to whatever your custom folder name is. Glade you got it worked out.

25 Aug 2010, 2:12 AM
#478
completespray avatar

completespray

New Zenner

Join Date:
Jan 2010
Location:
Gilbert, AZ
Posts:
43
Plugin Contributions:
0

Re: SitemapXML v.2

I hope this isn't a stupid question but for some reason sitemapxml used "&" instead of "&amp" on some of the links in my ezpages sitemap and google doesn't like it. All other sitemaps are working fine.

Using latest version of sitemap (just installed it a few days ago) and have Zen-Cart 1.3.9d

Any help you can offer on why it is doing this would be appreciated.

[edit] posting the contents of the sitemap below. It seems it is also leaving out a ";" which may actually be the larger issue.

<?xml-stylesheet type="text/xsl" href="includes/templates/premium6a/css/gss.xsl"?>

<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

<!-- generator="Zen-Cart SitemapXML" v 2.1.0 30.04.2009 10:35 --> <url> <loc>http://www.completespray.com/index.php?main_page=index&cPath=59_77</loc> <changefreq>weekly</changefreq> <priority>1.00</priority> </url> <url> <loc>http://www.completespray.com//index.php?main_page=index&cPath=59_60</loc> <changefreq>weekly</changefreq> <priority>0.88</priority> </url> <url> <loc>http://www.completespray.com//index.php?main_page=index&cPath=59_66</loc> <changefreq>weekly</changefreq> <priority>0.75</priority> </url> <url> <loc><http://www.completespray.com/index.php?main_page=index>&cPath=78</loc> <changefreq>weekly</changefreq> <priority>0.63</priority> </url> <url> <loc>http://www.completespray.com//index.php?main_page=index&cPath=59_62</loc> <changefreq>weekly</changefreq> <priority>0.50</priority> </url> <url> <loc><http://www.completespray.com/index.php?main_page=index>&cPath=171</loc> <changefreq>weekly</changefreq> <priority>0.38</priority> </url> </urlset>
25 Aug 2010, 2:59 AM
#479
completespray avatar

completespray

New Zenner

Join Date:
Jan 2010
Location:
Gilbert, AZ
Posts:
43
Plugin Contributions:
0

Re: SitemapXML v.2

Never mind after some research seems this is just a bit of bad php code.

here is the link on how to fix it - I haven't tried it yet but I think this sounds correct.

http://www.w3.org/QA/2005/04/php-session

25 Aug 2010, 6:08 PM
#480
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: SitemapXML v.2

BlessIsaacola:

Does anyone know how to modify this mod to Use cPath in product info url? Thanks!

Well, I am still hoping someone knows how to fix this because for everyone using 1.3.9 this is a real issue.

With Zen Cart 1.3.9, it now generates a canonical url (which includes the cPath for all product). However the url that is generated by the sitemap does not include the cPath for the product url.

It will be nice to have a sitemap that is generating a consistent url to the one that we are passing to the search engines as the canonical url.

Thanks!