Zen Cart Logo

SitemapXML v.2

Views: 613,426

Results 401 to 420 of 2,226
3 Jun 2010, 2:35 PM
#401
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

SitemapXML v.2

Hi, installed this module but received the following error. Please help.

Error loading stylesheet: A network error occured loading an XSLT stylesheet:

/includes/templates/template_default/css/gss.xsl

3 Jun 2010, 4:17 PM
#402
scott_c avatar

scott_c

Zen Follower

Join Date:
Dec 2009
Posts:
236
Plugin Contributions:
0

Re: SitemapXML v.2

dealbyethan.com:

Hi, installed this module but received the following error. Please help.

Error loading stylesheet: A network error occured loading an XSLT stylesheet:

/includes/templates/template_default/css/gss.xsl

Hi, see post #396 on page 40.

I had the same problem and the referenced post fixed it.

4 Jun 2010, 11:53 AM
#403
zeerock avatar

zeerock

New Zenner

Join Date:
Dec 2009
Posts:
31
Plugin Contributions:
0

Re: SitemapXML v.2

Hi all,

Is there a way that the sitemap generated by this module would be www instead of just http :// The only reason I ask this because search engines only index your urls http:// or with http://www, so its kind of duplication kind of thing.

Example of this is

http://mysite.com/sitemapindex.xml (thats how it generates)

I'm wondering if it could generate like

http://www.mysite.com/sitemapindex.xml

Thanks

4 Jun 2010, 12:49 PM
#404
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: SitemapXML v.2

Get Em Fast:

Well, I've got a question about this mod. I've used it for a few years now, and never had any problems but I've got one now as follows:

Installed: one site using 1.3.8a with SSL
Results: working perfectly after install with NO changes made.

Installed: another site using 1.3.9b NO SSL
Results: Error loading gss.css

Same host for both.

Changed all permissions to 777 on the second one.......still no luck.
Does the problem lie within the SSL, or the ZC version?

Hmmm......I've tried the "hacks" that's been posted for this, and it DOES seem to work for the sitemapindex.xml, but once there, it DOESN'T work for the rest of the sitemaps. I'm still getting the same error on those.
All conditions are still the same as above (hosts, SSL, etc.).
Anybody have any more ideas?

5 Jun 2010, 10:09 AM
#405
olivier72 avatar

olivier72

New Zenner

Join Date:
Mar 2009
Location:
France
Posts:
58
Plugin Contributions:
0

Re: SitemapXML v.2

Hi,

I have solve the probleme too, following last post in this theard.
In my case, it was not enougth

Check your link on
http://www.domaine.com/sitemapindex.xml
if its good.
For me, the problem comme back on
http://www.domain.com/sitemapcategories.xml and other.

I have to change the ligne 2 in every files
sitemapcategories.xml and other

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

to

<?xml-stylesheet type="text/xsl" href="gss.xsl"?>

Regards
olivier

5 Jun 2010, 6:09 PM
#406
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: SitemapXML v.2

All worked out, now. After I made the "hacks", and moved gss.xls, I had forgot to reset the permissions on it.

5 Jun 2010, 10:37 PM
#407
olivier72 avatar

olivier72

New Zenner

Join Date:
Mar 2009
Location:
France
Posts:
58
Plugin Contributions:
0

Re: SitemapXML v.2

Ok,
...Juste for information, In which permission you reset?
Not knowing which one is better, I maintain 777, but it is a little afraid ...

Regards
olivier

6 Jun 2010, 12:12 AM
#408
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: SitemapXML v.2

OLIVIER72:

Ok,
...Juste for information, In which permission you reset?
Not knowing which one is better, I maintain 777, but it is a little afraid ...

Regards
olivier

I changed permission to 777 on gss.xsl

6 Jun 2010, 7:53 AM
#409
olivier72 avatar

olivier72

New Zenner

Join Date:
Mar 2009
Location:
France
Posts:
58
Plugin Contributions:
0

Re: SitemapXML v.2

Hi,
Ok U2, you keep 777...
Is it a problem to change permission to 644 on all .xml and .xsl files after rebuilded the sitemap.
I don't know exactly how Zen Tamplate work. It need 777 to work fine?

Regards

6 Jun 2010, 7:58 AM
#410
zeerock avatar

zeerock

New Zenner

Join Date:
Dec 2009
Posts:
31
Plugin Contributions:
0

Re: SitemapXML v.2

OLIVIER72:

Hi,
Ok U2, you keep 777...
Is it a problem to change permission to 644 on all .xml and .xsl files after rebuilded the sitemap.
I don't know exactly how Zen Tamplate work. It need 777 to work fine?

Regards

By changing file permission from 644/444 to 755/777 means you are telling is to execute and write, if its not writable then sitemap won't be generated. If your host doesn't allow 777 then change it to 755.

6 Jun 2010, 11:17 AM
#411
olivier72 avatar

olivier72

New Zenner

Join Date:
Mar 2009
Location:
France
Posts:
58
Plugin Contributions:
0

Re: SitemapXML v.2

Yes...,
Ok, that what I wanted to know. Files return into 755 permission.

Thanks
olivier

12 Jun 2010, 8:50 AM
#412
payam avatar

payam

Zen Follower

Join Date:
Apr 2004
Posts:
27
Plugin Contributions:
0

Re: SitemapXML v.2

(This is for if you have the stylesheet error with gss.xsl)
Here is why this addon won't work with zencart. You don't need to move anything anywhere or do anyother hack except to change the .htaccess file under your "includes" folder.

/web-site-root/includes/.htacess

on line 26 you will find:
<FilesMatch ".*.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF)$">

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

You are by doing that allowing the filetypes *.xsl and *.XSL to be accessed by an external browser.

My .htaccess version is:

@version $Id: .htaccess 16111 2010-04-29 22:39:02Z drbyte $

So perhaps that is why on zencart 1.38 it works and not on the newer 1.3.9a.

drbyte is working some late hours, send him some coffee :)


MODERATOR NOTE: xsl has been added to the .htaccess for v1.3.9f and newer.

22 Jun 2010, 1:32 AM
#413
countrycharm avatar

countrycharm

Totally Zenned

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

Re: SitemapXML v.2

Get Em Fast:

All worked out, now. After I made the "hacks", and moved gss.xls, I had forgot to reset the permissions on it.

Where do you move the gss.xls to? What hacks all of them or just this one. Thank you

mrtz:

For the problem below.

I think it's about permission. So, I did the following steps to make it work :

Look for file "/includes/modules/pages/sitemapxml/header_php.php"

Search for : $zen_SiteMapXML->setStylesheet($tpl_dir . '/gss.xsl');

Then, change to : $zen_SiteMapXML->setStylesheet('/gss.xsl');

Then, copy gss.xsl file from /includes/templates/template_default/css/gss.xsl to /gss.xsl

Generate Sitemap again. By the way, I'm using Zencart 1.3.9c

24 Jun 2010, 1:47 PM
#414
countrycharm avatar

countrycharm

Totally Zenned

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

Re: SitemapXML v.2

countrycharm:

Where do you move the gss.xls to? What hacks all of them or just this one. Thank you

Anybody

25 Jun 2010, 10:48 AM
#415
countrycharm avatar

countrycharm

Totally Zenned

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

Re: SitemapXML v.2

Payam:

(This is for if you have the stylesheet error with gss.xsl)
Here is why this addon won't work with zencart. You don't need to move anything anywhere or do anyother hack except to change the .htaccess file under your "includes" folder.

/web-site-root/includes/.htacess

on line 26 you will find:
<FilesMatch ".*.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF)$">

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

You are by doing that allowing the filetypes *.xsl and *.XSL to be accessed by an external browser.

My .htaccess version is:

@version $Id: .htaccess 16111 2010-04-29 22:39:02Z drbyte $

So perhaps that is why on zencart 1.38 it works and not on the newer ones.

drbyte is working some late hours, send him some coffee :)

Must have mess this some how. Works

26 Jun 2010, 5:10 PM
#416
goalsurfer avatar

goalsurfer

Banned

Join Date:
Jun 2008
Posts:
54
Plugin Contributions:
0

Re: SitemapXML v.2

Why does google index only one namely the index.php page ???

26 Jun 2010, 7:50 PM
#417
countrycharm avatar

countrycharm

Totally Zenned

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

Re: SitemapXML v.2

I don't understand when I have 2226 products the sitemap is just writing 2217 of them. Anybody have any suggestion why. Thank you in advance. I'm running zencart v1.3.9d

29 Jun 2010, 5:59 AM
#418
kenichi avatar

kenichi

Zen Follower

Join Date:
Oct 2008
Posts:
252
Plugin Contributions:
0

Re: SitemapXML v.2

countrycharm:

Where do you move the gss.xls to? What hacks all of them or just this one. Thank you

Just in case anyone else is still wondering, the filepath "/" refers to your store root directory. So if your store was in https://www.mydomain.com/shop you would move gss.xls to "/shop". If your store was https://www.mydomain.com your would move to just "/" (your public_html folder).

29 Jun 2010, 12:49 PM
#419
countrycharm avatar

countrycharm

Totally Zenned

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

Re: SitemapXML v.2

Kenichi:

Just in case anyone else is still wondering, the filepath "/" refers to your store root directory. So if your store was in www.mydomain.com/shop you would move gss.xls to "/shop". If your store was www.mydomain.com your would move to just "/" (your public_html folder).

Actually you don't have to move the gss.xls at all, or do no hacking to any file. Just change a line in your .htaccess file and everthing will work. See below. Thanks for the post Payam

Payam:

(This is for if you have the stylesheet error with gss.xsl)
Here is why this addon won't work with zencart. You don't need to move anything anywhere or do anyother hack except to change the .htaccess file under your "includes" folder.

/web-site-root/includes/.htacess

on line 26 you will find:
<FilesMatch ".*.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF)$">

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

You are by doing that allowing the filetypes *.xsl and *.XSL to be accessed by an external browser.

My .htaccess version is:

@version $Id: .htaccess 16111 2010-04-29 22:39:02Z drbyte $

So perhaps that is why on zencart 1.38 it works and not on the newer ones.

drbyte is working some late hours, send him some coffee :)

1 Jul 2010, 10:32 PM
#420
jdalton avatar

jdalton

New Zenner

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

Re: SitemapXML v.2

I just noticed a problem with sitemap.xml particularly the sitemapproducts.xml uploading info to google. I installed it approx 6 weeks ago. Just lately I got some 301 errors from google on webmaster that the following url does not exist?

http://www.ethoil.com/store/language/en/pure-chamomile-oil-c-9/pure-chamomile-oil-10ml-0-3oz-p-12

sitemapproducts.xml is uploading the above url to google. However the folder of /language/en do not exist on my server... why are they being generated? as it should just read

http://www.ethoil.com/store/pure-chamomile-oil-c-9/pure-chamomile-oil-10ml-0-3oz-p-12

any ideas Please on how to fix this??