My redirect is during customer login on the storefront side but I'll check the wiki as you suggest in case an admin redirect solution may solve it.
Here's the website
http://www.CraftMagick.com
My redirect is during customer login on the storefront side but I'll check the wiki as you suggest in case an admin redirect solution may solve it.
Here's the website
http://www.CraftMagick.com
Found this in the wiki
Is the .htaccess file it refers to the top level (i.e. MYDOMAIN/.htaccess ??Code:Have you ever checked if your site can be visited at both links: http://yoursite.com AND http://www.yoursite.com If not, try it, I recommend that you try it now. Some search engines may view site.com and www.site.com as being two different URLs. If you split your link popularity amongst both versions, you will have less authority on each version than if the two were combined. So it is recommended that you pick one style and stick with it Redirection To do the redirection, add the code below to your .htaccess (right below the RewriteBase line) Don't forget to change example.com to your domain name From none-www to www # trailing slash # If URL-path does not contain a period or end with a slash #RewriteCond %{REQUEST_URI} !(\.|/$) # add a trailing slash #RewriteRule (.*) http://www.example.com/$1/ [R=301,L] # # Redirect non-www domain requests to www domain RewriteCond %{HTTP_HOST} ^example\. RewriteRule (.*) http://www.example.com/$1 [R=301,L] From www to none-www # trailing slash # If URL-path does not contain a period or end with a slash #RewriteCond %{REQUEST_URI} !(\.|/$) # add a trailing slash # RewriteRule .* http://example.com%{REQUEST_URI}/ [R=301,L] # # Canonicalize the domain # Redirect non-www domain requests to www domain RewriteCond %{HTTP_HOST} ^www\.example\. RewriteRule (.*) http://example.com%{REQUEST_URI} [R=301,L]
or is it refering to an .htaccess in a subfolder somewhere ??
Last edited by Craft Magick; 21 Feb 2009 at 01:13 AM. Reason: highlight code
In your root directory on your server. Just add this to it like mine below.. Put your web address there not mine....lol
[R=301,L]RewriteCond %{HTTP_HOST} ^thegoodshepherdstore.com$ [NC]
RewriteRule ^(.*)$ http://www.thegoodshepherdstore.com/$1
#### BOF SSU
Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteCond %{HTTP_HOST} ^thegoodshepherdstore.com$ [NC]
RewriteRule ^(.*)$ http://www.thegoodshepherdstore.com/$1 [R=301,L]
# Make sure to change "test_site" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /
RewriteBase /
# Deny access from .htaccess
RewriteRule ^\.htaccess$ - [F]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]
#### EOF SSU
Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation
Thank you. I modified .htaccess as you describe above and here's a copy
Code:RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA] # STRIP THE REWRITEBASE RULE FROM NON-SSL CONNECTIONS. RewriteCond %{SERVER_PORT} 80 RewriteCond %{REQUEST_URI} ^/craftmagick/ RewriteRule ^(.*) /index.php?/$1 [E=VAR1:$1,QSA,L] #### EOF SSU # trailing slash # If URL-path does not contain a period or end with a slash #RewriteCond %{REQUEST_URI} !(\.|/$) # add a trailing slash #RewriteRule (.*) http://www.example.com/$1/ [R=301,L] # # Redirect non-www domain requests to www domain RewriteCond %{HTTP_HOST} ^craftmagick.com\. RewriteRule (.*) http://www.craftmagick.com/$1 [R=301,L]
Unfortunately I'm still getting the Redirect Loop error when customers try to login...
and SOMETIMES now ( though not always) just hitting the BACK button on the browser takes you back into the store and you are already logged in when arriving back.
But sometimes NOT... and when that happens you have to re-enter the store URL in your browser and upon arriving at the store you're already logged in
Running Zen version 1.3.8a
Here's a link to my site if anyone has any suggestions
http://www.craftmagick.com
What is your SSU version btw?
And please post FULL htaccess and configure.php (no password)
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
That is a mod_rewrite 301 permanent redirect:
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
but I found the link below more readable if you want to workout how regexps work:
http://forums.digitalpoint.com/showthread.php?t=504361
"Any sufficiently advanced technology is indistinguishable from magic."
SSU version 3-5-8
here's the includes/config.php file
running zen version 1.3.8aCode:<?php /** * @package Configuration Settings circa 1.3.8 * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 */ /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com define('HTTP_SERVER', 'http://www.craftmagick.com'); define('HTTPS_SERVER', 'https://www.zencrystals.com'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'true'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/craftmagick/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '/home/zencryst/public_html/craftmagick/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', ''); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'removed for this post'); define('DB_SERVER_PASSWORD', 'removed for this post'); define('DB_DATABASE', 'zencryst_CM11801'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'db'); // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', '/home/zencryst/public_html/craftmagick/cache'); // EOF
here's the website link http://www.craftmagick.com
I dont think version 3.5.8 has any bug that would cause this, but please upgrade right away to 3.6.3 first.
http://public.rubikintegration.com/
Clearing cache then please let me know if the error is still there.
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
I am trying to install this mod on a site. I had first installed the 3.5.7 then I found out about the 3.6.3 so I tried to upgrade to the new version and now when I go to the extras>simple SEo I get the following errorAlso the Add To Cart doesn't work with this mod.Code:1146 Table 'coolcarp_precutcartint.eztpl_links_aliases' doesn't exist in: [show index from eztpl_links_aliases] If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
oops, sorry the db file has some table prefix i forgot to remove.
The add to cart is because you are using an older version :)
PS: simply download the package again and upload the admin part.
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
Bookmarks