Re: Simple SEO URL [support thread]
Hi again!
OK, SSU is now accessible via my admin>extras!
But I am having trouble with the configuration instructions.
I am using ZC version 1.3.8a.
What does this part of the instructions mean??
WARNING:
A. If your path_to_store/.htaccess file is not blank, do NOT overwrite it. Open that file and append the following lines:
#### BOF SSU
Options +FollowSymLinks
RewriteEngine On
# Change "/zencart/ to the correct setting
# if your site is located at root folder, then you should have RewriteBase /
# Go to your include/configure.php, this value should be the same with the value of DIR_WS_CATALOG
RewriteBase /zencart/
# 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
Sorry, I am completely dumb at this.:lamo:
I have not done what has been specified above, I am assuming it is essential....!
Any guidance please?
Thanks
Paul
Re: Simple SEO URL [support thread]
Paul, that .htaccess file should be placed at your zencart store root folder.
SSU 3+ goes with a file called ssu_check.php which can be accessed at http://linktoyourstore/ssu_check.php, which will suggest the correct content of .htaccess
If you read that instruction part slowly, maybe you will get it? If you dont, please list the specific part you dont get.
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
Paul, that .htaccess file should be placed at your zencart store root folder.
SSU 3+ goes with a file called ssu_check.php which can be accessed at
http://linktoyourstore/ssu_check.php, which will suggest the correct content of .htaccess
If you read that instruction part slowly, maybe you will get it? If you dont, please list the specific part you dont get.
Hi Yellow, Thanks for your reply.
OK, where do I get the .htaccess file from? There is one in mystore.co.uk/admin/.htaccess
There is also a .htaccess in the zip file for SSU. Is it either of those, or are they the same file?
Once I have the file I just move it to mystore.co.uk/.htaccess ?
Thanks for your patience!
Paul
Re: Simple SEO URL [support thread]
The files in the package are in the correct folders already. So if you see a file .htaccess in the store folder (not in the admin), then it's supposed to be in the store folder.
If you re-read the instruction carefully:
If you already have .htaccessin the store folder, then append the lines to the current file
If you dont, you can safely upload the new file.
After that, you have to change the RewriteBase /zencart/ as instructed.
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
The files in the package are in the correct folders already. So if you see a file .htaccess in the store folder (not in the admin), then it's supposed to be in the store folder.
If you re-read the instruction carefully:
If you already have .htaccessin the store folder, then append the lines to the current file
If you dont, you can safely upload the new file.
After that, you have to change the RewriteBase /zencart/ as instructed.
Ok, I looked in my store/root folder and I do not have a .htaccess file. So I moved the .htaccess file over from the SSU zip file to my store folder. I guess this was wrong as when I tried to log in to my admin, I got:
Server error!
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
If you think this is a server error, please contact the webmaster.
Error 500
www.rcmonster.co.uk
Tue Jan 6 18:16:33 2009
Apache/2.0.54 (Debian GNU/Linux) mod_auth_pgsql/2.0.2b1 mod_ssl/2.0.54 OpenSSL/0.9.7e
:frusty:
So I deleted the .htaccess from the store folder and I can now log in again.
The contents of the .htaccess file I added was:
#### 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
I am really lost here. I do not understand the instructions. What does 'append' mean?
Maybe I can't see .htaccess as I moved all the files manually from the SSU zip to the folders on my server? Maybe I need to reinstall?
Thanks:smile:
Paul
Re: Simple SEO URL [support thread]
Append means to add below, or to add after.
You have the error because you have not changed this line as instructed:
# Make sure to change "zencart" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /
RewriteBase /zencart/
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
Append means to add below, or to add after.
You have the error because you have not changed this line as instructed:
# Make sure to change "zencart" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /
RewriteBase /zencart/
pm'd you.
Re: Simple SEO URL [support thread]
Hi Yellow,
When I tried to add an alias, the top of the screen came up with messages:
Error /home/www/rcmonster.co.uk/cache/ssu/aliases folder is not writable
Error /home/www/rcmonster.co.uk/cache/ssu/pc folder is not writable
I followed the pathways and could not find any SSU folder in cache, so I created one and an ALIASES and PC folder.
Unfortunately not working tho.
Sorry.
Paul
Re: Simple SEO URL [support thread]
This means you have not uploaded all the required folders in cache/ to your site, and have not set the correct permission for them.
I uploaded for you, you can check again
Raine
Re: Simple SEO URL [support thread]
Works perfect now Raine!
Thanks again:hug:
You can have your thread back now:laugh:
Paul