Zen Cart Logo

SitemapXML v.2

Views: 613,411

Results 321 to 340 of 2,226
31 Jan 2010, 7:32 AM
#321
juxizoza avatar

juxizoza

Totally Zenned

Join Date:
Mar 2004
Posts:
651
Plugin Contributions:
1

SitemapXML v.2

It has been a long time and is nice of you to remember.
I search for an occasional answer and lurk for awhile.
But, I just don't have available the 6-8 hrs a day I use to spend on the forum.

After much checking and testing, I found the problem.

I update all tables using SQL statements. I don't enter fields where the default is acceptable; have even changed a few field defaults to reduce the data I have to maintain. Normally, I don't bother entering data for "date_added" or "last_modified" and accept the NULL default value. Except for products; because I use that information on some pages.

I use IIS for local server and naturally the remote server is Apache.

When I installed sitemapXML on local server to test, I saw that "Last modification date" was 2001-01-01 for sitemapcategories.xml.

I changed my SQL statement and added today, in yyyyy-mm-dd format, to the last_modified field; date_added field was still empty (NULL).
Local category report looked fine.

However, same PHP files and data produces different reports on an Apache server.

  • If both date_added and last_modified are NULL, sitemapcategories.xml contains no tags or data for "Last modification date".
  • If data is entered into last_modified field only, as I did, the sitemapcategories.xml still contains no tags or data for "Last modification date".
  • Data MUST be present in the date_added field for "Last modification date" information to appear in the XML report.
  • If both fields contain date, the later date is used.
    These results where found using phpMyAdmin on local and remote server and deleting and adding different date combinations in the category tables.

The way the program is now written,
IIS will supply a date of 2001-01-01 if null and you only need data in the last_modified field.
Apache says NULL means NULL and requires data in the date_added field to work at all.

Remember, I use SQL statements and can create my own problems (and solutions) and ZenCart users who use Admin will never be affected. I may alter my SQL statement to include date_added data or default date_added to some datetime other than NULL.

As far as the program code;
In sitemapxml_categories.php line 27, I thought it might have failed because "0001-01-01" is out of range for MySQL. Changed to "2003-01-01" and still no joy.

Don't think lines 22 and 27 are getting the job done.
Might be tempted to stick a default "NOW" in there some place.

That's all I came up with.
Now that I understand that date_added field is needed for current code to work on Apache server, I'll take needed action.

Best wishes,
Juxi

2 Feb 2010, 1:41 AM
#322
ourcollegetown avatar

ourcollegetown

New Zenner

Join Date:
Jan 2009
Posts:
33
Plugin Contributions:
0

Re: SitemapXML v.2

I installed this submission and got it up and running; but it appears that it is incompatible with the Simple SEO mod. Instead of the nice SEO urls that I, and google, use:

http://ourcollegetown.net/art/s-putnal/stanley-putnal-mercer-university-football-print

I get links like:

http://ourcollegetown.net/index.php?main_page=index&cPath=7_16

Google will not accept a sitemap link that is a redirect. Is there a way to make these two mods play nicely?

2 Feb 2010, 5:21 AM
#323
countrycharm avatar

countrycharm

Totally Zenned

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

Re: SitemapXML v.2

ourcollegetown:

I installed this submission and got it up and running; but it appears that it is incompatible with the Simple SEO mod. Instead of the nice SEO urls that I, and google, use:

http://ourcollegetown.net/art/s-putnal/stanley-putnal-mercer-university-football-print

I get links like:

http://ourcollegetown.net/index.php?main_page=index&cPath=7_16

Google will not accept a sitemap link that is a redirect. Is there a way to make these two mods play nicely?
I had the same problem as you. I ask yellow over in the simple seo thread to look at it for me. I don't know what he did but he fix it. I think he is in Japan right now so he has little time to help here on the form right now. You can shoot him a email at his site, maybe he will help you. Email him here
Hope things workout for you.

2 Feb 2010, 5:26 AM
#324
ourcollegetown avatar

ourcollegetown

New Zenner

Join Date:
Jan 2009
Posts:
33
Plugin Contributions:
0

Re: SitemapXML v.2

countrycharm:

I had the same problem as you. I ask yellow over in the simple seo thread to look at it for me. I don't know what he did but he fix it. I think he is in Japan right now so he has little time to help here on the form right now. You can shoot him a email at his site, maybe he will help you. Email him here
Hope things workout for you.

I sent him a message. Do you still have any of your correspondence with him? If so, could you send it to me? I'm sure the same solution applies to both.

2 Feb 2010, 11:29 AM
#325
gaffettape avatar

gaffettape

Zen Follower

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

Re: SitemapXML v.2

Ok I used to have SEO URLS but have since turned it off. I then looked at the sitemap and realised it was showing the old seo urls. So I went to admin and clicked the 'STEP 1: Click [HERE] to create / update your site map. ' But nothing has changed in the sitemap, its still showing the old seo urls? any ideas?

Thanks.

2 Feb 2010, 12:48 PM
#326
elibaba avatar

elibaba

New Zenner

Join Date:
Apr 2009
Location:
Israel
Posts:
23
Plugin Contributions:
0

Re: SitemapXML v.2

Same question as above, and one more :

  1. I am using sitemapxml on a bilingual cart, with Generate language_id for default language = false, and with SEO URLs submittion.
    As with the zenners above, my sitemaps are generated with the original url's, not the SEO url's, and google does not like sitemaps that contain 301 redirects.

  2. I have ezpages that are only accessible from one ezpage (thoes are articles linked from the main article page)
    the main artice page is http://mineralz.biz/page.html?chapter=0&id=1
    which links to ezpages like http://mineralz.biz/page.html?chapter=0&id=9

all ezpages BUT those that are linked direclty from the sidebox do not appear in the ezpages sitmap, any idea why ?

2 Feb 2010, 3:08 PM
#327
countrycharm avatar

countrycharm

Totally Zenned

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

Re: SitemapXML v.2

ourcollegetown:

I sent him a message. Do you still have any of your correspondence with him? If so, could you send it to me? I'm sure the same solution applies to both.
I gave him my ftp details to my sever so no I really don't have any correspondence with him except he said it was fixed and sure enough it was. I don't know if he fixed something in the sitemap or in the simple seo add on to get it to work like it should, Sorry

5 Feb 2010, 4:18 PM
#328
new2u avatar

new2u

Zen Follower

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

Re: SitemapXML v.2

So nothing on the ?&language=en still being included even though it is off? this is causing a lot of duplicates which is not good. Is anyone there?

5 Feb 2010, 4:28 PM
#329
new2u avatar

new2u

Zen Follower

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

Re: SitemapXML v.2

Got it! It appears you have to manually delete the sitemap.xml and then recreate it for the toggle language to work. no need to uninstall reinstall

5 Feb 2010, 9:07 PM
#330
g_force avatar

g_force

Zen Follower

Join Date:
Feb 2009
Posts:
354
Plugin Contributions:
0

Re: SitemapXML v.2

new2u:

Got it! It appears you have to manually delete the sitemap.xml and then recreate it for the toggle language to work. no need to uninstall reinstall

Was this is in order for the products not to repeat in google, etc? or was it something else - least that's the problem I'm having <<

_thanks

12 Feb 2010, 4:49 PM
#331
new2u avatar

new2u

Zen Follower

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

Re: SitemapXML v.2

g_force:

Was this is in order for the products not to repeat in google, etc? or was it something else - least that's the problem I'm having <<

_thanks

I am currently still having the issue with the duplicate urls in googles webmaster tools. Unfortunately getting it removed from your sitemap wont stop the bot from finding the ?&language=en pages since they still exist. I have been talking with Conor, who make the Ceon Uri redirects mod. See here

He is currently beta testing the latest version of his mod that will get rid of these. Unfortunately it isn't ready yet... So we play the waiting game. If anyone else knows of a way to get these to work now, I know I would be greatful

12 Feb 2010, 8:39 PM
#332
g_force avatar

g_force

Zen Follower

Join Date:
Feb 2009
Posts:
354
Plugin Contributions:
0

Re: SitemapXML v.2

would getting rid of the mod help?

12 Feb 2010, 9:19 PM
#333
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: SitemapXML v.2

g_force:

would getting rid of the mod help?Conor's mod isn't causing the issue with the "?&language=en" being appended to URLs.. This module does that based on the language settings..

and BTW the new version of Conor's app won't get rid of the duplicates in the Googles database.. The new version of Conor's URI module will simply render the correct URI when URLs with "?&language=en" appended to the end are called.. The duplicates will still exist in Google's dtatbases.. Over time when the bots discover that these URLs do not exist they will drop them from their databases.. (you'll have to patient to wait for this to happen as it may take time..)

While waiting for Conor's new release you can try experementing with mods to the .htaccess file and try to replicate what Conor's new version of his URI module will do.. That though is a new topic that should be posted separate so you do not divert either support thread with an off topic subject..

13 Feb 2010, 12:04 PM
#334
g_force avatar

g_force

Zen Follower

Join Date:
Feb 2009
Posts:
354
Plugin Contributions:
0

Re: SitemapXML v.2

thanks diva. . - I hope you're right!

16 Feb 2010, 6:30 AM
#335
bizz1983 avatar

bizz1983

New Zenner

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

Re: SitemapXML v.2

Ok so this is my first post and a major crisis for me. first here are the stats

V 1.3.8
no upgrade, fresh install
have a template
i went through about 15 pages of this thread before asking as i could not find an answer.

so heres the problem. the install went smooth. no hitches. everything ran perfectly. generated sitemaps perfectly......... or so i thought once i uploaded them to google webmaster tools i get this error message.....

Paths don't match
We've detected that you submitted your Sitemap using a URL path that includes the www prefix (for instance, http://www.example.com/sitemap.xml). However, the URLs listed inside your Sitemap don't use the www prefix (for instance, http://example.com/myfile.htm).

There is a big red x next to the error and google wont index them until i get it fixed and it shows the green check mark.

can someone, anyone, PLEASE help me resolve this issue. i feel like a deer standing in the middle of an empty field during deer season

16 Feb 2010, 6:31 AM
#336
turtledove avatar

turtledove

Zen Follower

Join Date:
May 2006
Posts:
182
Plugin Contributions:
0

Re: SitemapXML v.2

I tried notifying the crawler of the update on my XML file and I got this instead: http://www.pawglamour.com/index.php?main_page=sitemapxml&genxml=no&ping=yes

I usually get a"Success" page of the various search engines the page was submitted to, but I'm being redirected to the URL above now -- a blank page.

Does anyone how to fix this?

Thanks.

20 Feb 2010, 8:18 PM
#337
turtledove avatar

turtledove

Zen Follower

Join Date:
May 2006
Posts:
182
Plugin Contributions:
0

Re: SitemapXML v.2

I fixed my previous problem and am now having trouble setting up a Cron Job. I get this message every time:

/bin/sh: /usr/bin/GET: Permission denied

Does anyone know how to fix this?

20 Feb 2010, 9:29 PM
#338
alpha7 avatar

alpha7

New Zenner

Join Date:
Oct 2006
Posts:
12
Plugin Contributions:
0

Re: SitemapXML v.2

countrycharm:

I had the same problem as you. I ask yellow over in the simple seo thread to look at it for me. I don't know what he did but he fix it. I think he is in Japan right now so he has little time to help here on the form right now. You can shoot him a email at his site, maybe he will help you. Email him here
Hope things workout for you.
Hi I also sent Yellow a message regarding the non SEO urls in the sitemap, has anyone found an answer to this problem, I'll post any solutions I get sent, thanks, John

21 Feb 2010, 12:38 AM
#339
jandik01 avatar

jandik01

New Zenner

Join Date:
Jun 2005
Posts:
15
Plugin Contributions:
0

Re: SitemapXML v.2

hi, addon generate me 2 same name in polish language
-http://www.umelekvetiny.eu/kura-ze-styropianu-p-2611.html?language=cs
-http://www.umelekvetiny.eu/kura-ze-styropianu-p-2611.html?language=pl
but i need this in czech and polish way to products
-http://www.umelekvetiny.eu/slepicka-z-polystyrenu-p-2611.html?language=cs
-http://www.umelekvetiny.eu/kura-ze-styropianu-p-2611.html?language=pl
any ideas how to set?

22 Feb 2010, 6:48 PM
#340
alpha7 avatar

alpha7

New Zenner

Join Date:
Oct 2006
Posts:
12
Plugin Contributions:
0

Re: SitemapXML v.2

alpha7:

Hi I also sent Yellow a message regarding the non SEO urls in the sitemap, has anyone found an answer to this problem, I'll post any solutions I get sent, thanks, John

Got a prompt reply from Raine at RubikIntegration regarding non seo urls in sitemap when using SitemapXML and the Simple SEO URL's mod. The problem is now fixed by downloading the latest Simple SEO URL package (version 3.8.3) from the site, upgrade and then make sure to CLEAR the browser session's cache before trying. Also please clear the sitemap xml files and it should the work correctly.

John