Re: Simple SEO URL [support thread]
[QUOTE=yellow1912;632519]Which usually means .htaccess is not set correctly[/QUOTE
Here is what i have:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^rickiesdiscountelectronics\.com$ [NC]
RewriteRule ^(.*)$ http://www.rickiesdiscountelectronics.com/$1 [R=301,L]
#### BOF SSU
Options +FollowSymLinks
RewriteEngine On
# Make sure to change "zencart" 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 [OR]
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule .* - [L]
RewriteRule ^(.+) index.php/$1 [E=VAR1:$1,QSA,L]
#### EOF SSU
Not sure what i need to change
Re: Simple SEO URL [support thread]
Please post your includes/configure.php as well (please take out all passwords etc)
And are you sure that mod_rewrite is available on the server you are on?
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
Please post your includes/configure.php as well (please take out all passwords etc)
And are you sure that mod_rewrite is available on the server you are on?
not sure im on a dedicated server so i wouldnt see why it isnt
// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://www.rickiesdiscountelectronics.com');
define('HTTPS_SERVER', 'https://www.rickiesdiscountelectronics.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', '/');
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/rickiesd/public_html/');
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', 'zen_');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', '');
define('DB_SERVER_PASSWORD', '');
define('DB_DATABASE', '');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // 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', 'database');
define('DIR_FS_SQL_CACHE', '/home/rickiesd/public_html/cache');
// EOF
Re: Simple SEO URL [support thread]
Nothing seems wrong(except that we dont know if mod_rewrite works or not), can you temporarily turn the module on again so I can see this 404 error?
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
Nothing seems wrong(except that we dont know if mod_rewrite works or not), can you temporarily turn the module on again so I can see this 404 error?
ok it is on now
Re: Simple SEO URL [support thread]
Go to extras->ssu manager to clear cache first
It's kinda weird, doesnt seem like mod_rewrite is on btw
Raine
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
Go to extras->ssu manager to clear cache first
It's kinda weird, doesnt seem like mod_rewrite is on btw
Raine
ok i cleared it
how can i check to see if its on or not?
Re: Simple SEO URL [support thread]
Also, change your htaccess to
Code:
#### BOF SSU
Options +FollowSymLinks
RewriteEngine On
# Make sure to change "zencart" 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 [OR]
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule .* - [L]
RewriteRule ^(.+) index.php/$1 [E=VAR1:$1,QSA,L]
#### EOF SSU
RewriteCond %{HTTP_HOST} ^rickiesdiscountelectronics\.com$ [NC]
RewriteRule ^(.*)$ http://www.rickiesdiscountelectronics.com/$1 [R=301,L]
Re: Simple SEO URL [support thread]
Opps, should be
Code:
#### BOF SSU
Options +FollowSymLinks -MultiViews
RewriteEngine On
# Make sure to change "test_site" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /
RewriteBase /zencart/
# 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
RewriteCond %{HTTP_HOST} ^rickiesdiscountelectronics\.com$ [NC]
RewriteRule ^(.*)$ http://www.rickiesdiscountelectronics.com/$1 [R=301,L]
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
Also, change your htaccess to
Code:
#### BOF SSU
Options +FollowSymLinks
RewriteEngine On
# Make sure to change "zencart" 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 [OR]
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule .* - [L]
RewriteRule ^(.+) index.php/$1 [E=VAR1:$1,QSA,L]
#### EOF SSU
RewriteCond %{HTTP_HOST} ^rickiesdiscountelectronics\.com$ [NC]
RewriteRule ^(.*)$ http://www.rickiesdiscountelectronics.com/$1 [R=301,L]
Just fixed it when i reuploaded the htacess i think i left a line out u can check it now its working...
how often should i clear the cache
Also i had magic seo url before this and this works like 50 times better...magic seemed to slow my site down drastically thanks a lot