Sitemap generates links as specified in the configuration file. If you want to add www. - then you need to fix configure.php.
Printable View
This issue was discussed at page 122, read http://www.zen-cart.com/showthread.p...ML-v-2/page122
How can you eliminate a category to be included in the xml?
Such as trying to eliminate the following to be included fromthe xml
Code:/index.php?main_page=index&cPath=1_13
Hi...I am looking to install this mod on my 1.3.9 Zen Cart and was wondering about the .htaccess file. I did not see my answer in the forum. If you could please help it would be much appreciated.
In your read me file, you have instructed the following:
10. For Zen-Cart version 1.3.9f and earlier. Edit file includes/.htaccess:
Find
<FilesMatch ".*\.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF)$">
Replace by
<FilesMatch ".*\.(js|JS|css|CSS|jpg|JPG|gif|GIF|png|PNG|swf|SWF|xsl|XSL)$">
However, I am not sure where to add this to my .htacces file as there is nothing similar in mine. Here is how my file reads:
RewriteEngine on
<Files 403.shtml>
order allow,deny
allow from all
</Files>
deny from 120.28.222.132
deny from 120.28.213.61
deny from 120.28.206.148
deny from 120.28.211.158
deny from 120.28.240.142
deny from 203.177.74.138
deny from 117.41.184.199
RewriteCond %{HTTP_HOST} ^allclipart\.info$ [OR]
RewriteCond %{HTTP_HOST} ^www\.allclipart\.info$
RewriteRule ^/?$ "http\:\/\/www\.allclipart\.info\/shop" [R=301,L]
RewriteCond %{HTTP_HOST} ^allclipart\.info$ [OR]
RewriteCond %{HTTP_HOST} ^www\.allclipart\.info$
RewriteRule ^store$ "http\:\/\/www\.allclipart\.info\/shop" [R=301,L]
deny from 112.201.138.213
If you could explain where I might add this piece of code that would be a huge help. Also, is this mod compatible with Ultimate SEO?
Thanks...
Okay...I was wrong. I did have another store at one time and changed it to a /shop. Here is the .htaccess file from my admin folder on this shop:
#
# @copyright Copyright 2003-2010 Zen Cart Development Team
# @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
# @version $Id: .htaccess 16111 2010-04-29 22:39:02Z drbyte $
#
# This is used with Apache WebServers
#
# The following blocks direct HTTP requests to all filetypes in this directory recursively, except certain approved exceptions
# It also prevents the ability of any scripts to run. No type of script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.
# Will also prevent people from seeing what is in the dir. and any sub-directories
#
# For this to work, you must include either 'All' or at least: 'Limit' and 'Indexes' parameters to the AllowOverride configuration in your apache/conf/httpd.conf file.
# Additionally, if you want the added protection offered by the OPTIONS directive below, you'll need to add 'Options' to the AllowOverride list, if 'All' is not specified.
# Example:
#<Directory "/usr/local/apache/htdocs">
# AllowOverride Limit Options Indexes
#</Directory>
###############################
DirectoryIndex index.php
# deny *everything*
<FilesMatch ".*\..*">
Order Allow,Deny
Deny from all
</FilesMatch>
# but now allow just *certain* necessary files:
<FilesMatch "(^$|^favicon.ico$|.*\.(php|js|css|jpg|gif|png)$)">
Order Allow,Deny
Allow from all
</FilesMatch>
IndexIgnore */*
# The following makes adjustments to the SSL protocol for Internet Explorer browsers
<IfModule mod_setenvif.c>
<IfDefine SSL>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfDefine>
</IfModule>
# Fix certain PHP values
#<IfModule mod_php4.c>
# php_value session.use_trans_sid 0
# php_value register_globals 1
#</IfModule>
# to turn off register_globals
# php_value register_globals 0
#turn off X-PHP-Originating-Script header when sending emails from admin
#uncomment to activate:
# php_flag mail.add_x_header Off
DUH!!! What a ditz!!! I'm so sorry for being a dingbat and not paying attention. Thanks for your time. I see that your recommendation is already there. Have a great week!!! :)