Re: Simple SEO URL [support thread]
He meant
2)not the case that the default RewriteBase is correct??
You need to fix that.
Maybe this will help you. If your zen cart is not in your root, then you need to change the
RewriteBase/my_folder
Quote:
#### 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
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
peteboy
No I did not set my rewrite base as I assumed it was correct.
I have my zencart setup in a subdir so the the url is
http://myipaddress.net/zencart/
The default SSU .htaccess has the RewriteBase set as /zencart/ so I left it as is.
I hope its not a case of SSU only working if the zencart is setup as the root of the url??
I will try setting up a virtual domain to test.
Your server is also not online at this time, it's hard to tell the exact cause of the issue.
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
countrycharm
He meant
2)not the case that the default RewriteBase is correct??
You need to fix that.
Maybe this will help you. If your zen cart is not in your root, then you need to change the
RewriteBase/my_folder
##############################################################
########################################################
################################################################
THE IMPORTANT POINT AS FAR AS I CAN SEE IS TO COMMENT OUT THE OPTIONS LINE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
##########################################################
#############################################################
###########################################################
It now seems to work.
But i seem to notice a slight preformance hit, has anyone done any benchmarks?.
Probably the wrong place to post this as I am not a zen dev and know nothing about php, but from a brief look at some of the code it seems to suck, though I am biased to C as that is what I know about.
That said I am grateful to the all the devs, as you may have saved me having to write a whole system myself.
It is probably still better extending a system I have no experience with than working from scratch,
I am considering writing a barcode module, anyone interested?
or have any pointers on where to start?
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
Clear cache in admin, see if that solves the problem
How do I 'clear cache in admin' or 'clear cache' in general for that matter?
I'm getting a redirect loop on login and from what i've read in this forum clearing the cache may help.
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
Craft Magick
How do I 'clear cache in admin' or 'clear cache' in general for that matter?
I'm getting a redirect loop on login and from what i've read in this forum clearing the cache may help.
I'm no expert but i think you click the admin -> extras -> manage SSU menu.
Then the page loads and there is an option to flush cache??
if that don't work try erasing the cache/ssu directory
I only been trying to use this mod for the last couple of days so don't rely on my advice.
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
peteboy
I'm no expert but i think you click the admin -> extras -> manage SSU menu.
Then the page loads and there is an option to flush cache??
if that don't work try erasing the cache/ssu directory
I only been trying to use this mod for the last couple of days so don't rely on my advice.
aaahhh... EXTRAS... thank you, that was the one I didn't check. Will go clear the cache and now and post back if that fixed the redirect loop error on login.
thank you
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
Craft Magick
aaahhh... EXTRAS... thank you, that was the one I didn't check. Will go clear the cache and now and post back if that fixed the redirect loop error on login.
thank you
cleared cache and still getting redirect loop on login
went ahead and just put up a warning message on my website for now because i don't know what else to do and i just started a new marketing campaign yesterday :frusty:
if anyone has any suggestions it would be apprecaited
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
Craft Magick
cleared cache and still getting redirect loop on login
went ahead and just put up a warning message on my website for now because i don't know what else to do and i just started a new marketing campaign yesterday :frusty:
if anyone has any suggestions it would be apprecaited
If you get redirection in admin, try this:
http://wiki.rubikintegration.com/zen...direction_loop
Again, the wiki has tons of useful info, it takes tons of time to build up those pages as well, so please check the wiki first when you run into a problem. Usually the solution is there.
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
peteboy
##############################################################
########################################################
################################################################
THE IMPORTANT POINT AS FAR AS I CAN SEE IS TO COMMENT OUT THE OPTIONS LINE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
##########################################################
#############################################################
###########################################################
It now seems to work.
But i seem to notice a slight preformance hit, has anyone done any benchmarks?.
Probably the wrong place to post this as I am not a zen dev and know nothing about php, but from a brief look at some of the code it seems to suck, though I am biased to C as that is what I know about.
That said I am grateful to the all the devs, as you may have saved me having to write a whole system myself.
It is probably still better extending a system I have no experience with than working from scratch,
I am considering writing a barcode module, anyone interested?
or have any pointers on where to start?
If you can provide us a link, I can check the site.
I came from a C background as well, but again imagine you have to code a website with C, I dont think it's fun :). Surely php is slower than C, but we are not doing any heavy computing here, the difference is not noticeable.
Zencart, I believe, does have bar-code module working as well.
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
If you can provide us a link, I can check the site.
I came from a C background as well, but again imagine you have to code a website with C, I dont think it's fun :). Surely php is slower than C, but we are not doing any heavy computing here, the difference is not noticeable.
Zencart, I believe, does have bar-code module working as well.
I am afraid I don't have a link available, I'm just setting up the site on a vmware test system. I may be uploading it to a fasthosts server in the next few weeks, but there are loads of things to get cleared like supplier details, security audit, and testing.
I have been told there will be a total of around 8,000 products from 20 suppliers and I will be given images and spreadsheet data to put in the system next week. I want to get a basic system setup before I start adding the data. My problem seems to have been fixed by commenting out :
#Options +FollowSymLinks -MultiViews
from the .htaccess file.
Of course if that line works OK for others it still leaves the question why it breaks my system, I guess due to some apache config issues.
As I said the system is a stock centos 5 system so other centos users may have the same problem.
I will post back when I have uploaded to the fasthosts server, which should as far as I could manage have an identical config to the vmware test system I created.
Or if you are really interested I could put the vmware image up for you to download and test (though it would be a 600Mb image).
I did start to write a webshop system in C almost 10 years ago, but dumped the whole idea for what seemed like a far more elegant system written in C, which then never got used due to SEO problems and javascript weaknesses.
I think its all the $ chars before variables that puts me off php?.
Anyway thanks for the help, I will post back if I get to the root of the problem.