Zen Cart Logo
Forums / All Other Contributions/Addons / Simple SEO URL (OLD version) [support thread]

Simple SEO URL (OLD version) [support thread]

Views: 1,113,830

Results 3,201 to 3,220 of 5,058
19 Jun 2009, 2:21 AM
#3201
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

Jerry5763837:

Hi, Yellow,

Maybe we can delete "C-1_2" by editing alias link through Admin,
but have to adit one by one, so it is unworkable if have thoudsands of products.

Meanwhile, do ou think it is better to omit the 2nd level category "BBBB-c-1_2/" in all product url
such as:
change https://www.example.com/BBBB-c-1_2/productname
to
https://www.example.com/productname
or
https://www.example.com/BBBB/productname
how to solve this problem?
many thanks.:dontgetit

hi, yellow,

Are you there?

20 Jun 2009, 1:31 AM
#3202
ocs09 avatar

ocs09

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

im trying to add a 301 redirect from non-www to www by using this code (entire .htaccess file including SSU stuff);

#### BOF SSU
Options +FollowSymLinks -MultiViews
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
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]
#### EOF SSU

RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
```when i use this code, all the links get messed up (links to products) and i cant get into admin.. any ideas?

Thanks in advance
20 Jun 2009, 2:01 AM
#3203
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Simple SEO URL (OLD version) [support thread]

ocs09:

im trying to add a 301 redirect from non-www to www by using this code (entire .htaccess file including SSU stuff);

BOF SSU

Options +FollowSymLinks -MultiViews
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
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]

EOF SSU

RewriteCond %{HTTP_HOST} ^domain.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

> 
> Thanks in advance

Go to your store admin/configuration and cut off simple seo, clear your cache. Make sure your .htaccess look like this. Is zen cart in the root folder if so, change to: RewriteBase /  If zen cart is in another folder then you will have to make it look like this RewriteBase / Your custom folder name

> #### BOF SSU
> Options +FollowSymLinks -MultiViews
> RewriteEngine On
> RewriteCond %{HTTP_HOST} ^Your.com$ [NC]
> RewriteRule ^(.*)$ http://www.your.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
Go back to your store admin/configurations/simple seo cut it back on and see what happens.
20 Jun 2009, 2:37 AM
#3204
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Jerry5763837:

hi, yellow,

Are you there?

hello, countrycharm,

could you please advise your solution to this problem? thanks.:cool:

20 Jun 2009, 3:16 AM
#3205
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

It is recommended to get a newer version if you want auto alias. get it from my signature link.

20 Jun 2009, 3:41 AM
#3207
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

countrycharm:

Yellow can you see if their is a solution to this problem before you call it a weekend. Thank you very much. This comes from page 320
http://www.zen-cart.com/forum/showpost.php?p=742537&postcount=3194
Since the author already disable it on his site im quite unsure what happens. My best guess is that something went wrong with the htaccess, again I can be wrong.

PS: your google xml should be correct now

20 Jun 2009, 3:52 AM
#3208
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Simple SEO URL (OLD version) [support thread]

yellow1912:

Since the author already disable it on his site im quite unsure what happens. My best guess is that something went wrong with the htaccess, again I can be wrong.

PS: your google xml should be correct now

Thank you for fixing that. It's kind of slow now, but I guess I can live with that. I have the same problem as the other guy had. If you go to my site in my signature you can click on a category then click another one and go back to the one you click the first time and the page will be without any formatting like it lost all of its css.

20 Jun 2009, 3:56 AM
#3209
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Turn off gzip for now, seems like the page content is messed up.

20 Jun 2009, 4:05 AM
#3210
ocs09 avatar

ocs09

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

hi,
thanks for the help but same thing unfortunately, cant get into admin for some odd reason> countrycharm:

Go to your store admin/configuration and cut off simple seo, clear your cache. Make sure your .htaccess look like this. Is zen cart in the root folder if so, change to: RewriteBase / If zen cart is in another folder then you will have to make it look like this RewriteBase / Your custom folder name

Go back to your store admin/configurations/simple seo cut it back on and see what happens.

20 Jun 2009, 4:07 AM
#3211
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

What module have you installed recently that can interfere with content? I know SSU cant do that for sure.

20 Jun 2009, 4:07 AM
#3212
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Simple SEO URL (OLD version) [support thread]

yellow1912:

Turn off gzip for now, seems like the page content is messed up.

I don't have it on in my store. I have this in my .ini file

zlib.output_compression_level = -6
but I took that out to see what it would do but i'm getting the same thing.

20 Jun 2009, 4:09 AM
#3213
ocs09 avatar

ocs09

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

if that was for me, nothing, just this 301 redirect in htaccess seems be setup wrong, i took it from your suggestion to someone else earlier on in this thread.. for me its not working properly

yellow1912:

What module have you installed recently that can interfere with content? I know SSU cant do that for sure.

20 Jun 2009, 4:21 AM
#3214
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Simple SEO URL (OLD version) [support thread]

yellow1912:

What module have you installed recently that can interfere with content? I know SSU cant do that for sure.

I had installed the automatic_banner_adverts__export_your_products_to_our_advertising_system_1-1 but that does not over write any files. I didn't like it and got rid of it today. My site was doing that before I installed this. Also I installed the simple_create_orders module. Thats it.

20 Jun 2009, 4:22 AM
#3215
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

ocs09:

if that was for me, nothing, just this 301 redirect in htaccess seems be setup wrong, i took it from your suggestion to someone else earlier on in this thread.. for me its not working properly
No I was talking to countrycharm, sorry for the confustion. Can you post your problem or link to it again?

@Countrycharm: Seem like it appears like that only on a 2nd load of a page, so for example if i load http://www.thegoodshepherdstore.com/great-gifts-under-20 once it works okie, and then when i refresh i see only code. And it only happens on category pages. I have turned off ssu for checking and it's still the same, so the problem is not there

PS: seem like because there are 2 level of gzip (by server and by simple-cache), I turned off simple cache gzip and it works for you now. I cannot replicate the other problem tho.

20 Jun 2009, 4:23 AM
#3216
ocs09 avatar

ocs09

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

when i try to setup the 301 redirect from non-www to www on our store, it messes up the links on the site as well as does not let us login to admin (just refreshes the page, does not login).. what can we do to fix it, i assume the 301 redirect somehow interferes with the ssu module.. i used the 301 redirect code that was posted by you earlier on for someone else..> yellow1912:

No I was talking to countrycharm, sorry for the confustion. Can you post your problem or link to it again?

@Countrycharm: Seem like it appears like that only on a 2nd load of a page, so for example if i load http://www.thegoodshepherdstore.com/great-gifts-under-20 once it works okie, and then when i refresh i see only code. And it only happens on category pages. I have turned off ssu for checking and it's still the same, so the problem is not there

PS: seem like because there are 2 level of gzip (by server and by simple-cache), I turned of simple cache gzip and it works for you now. I cannot replicate the other problem tho.

20 Jun 2009, 4:25 AM
#3217
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Post your whole htaccess content here

20 Jun 2009, 4:29 AM
#3218
ocs09 avatar

ocs09

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

currently;```

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 /

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

non working (obviously changed the domain.com to my domain);

BOF SSU

Options +FollowSymLinks -MultiViews
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
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]

EOF SSU

RewriteCond %{HTTP_HOST} ^domain.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

20 Jun 2009, 4:32 AM
#3219
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Try:

BOF SSU

Options +FollowSymLinks -MultiViews
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 %{HTTP_HOST} ^domain.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]

EOF SSU

As you can see I move the 301 redirection up

20 Jun 2009, 4:37 AM
#3220
ocs09 avatar

ocs09

New Zenner

Join Date:
May 2009
Posts:
15
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

tried that, tried again, same thing..
admin doesnt work (maybe has something to do with redirecting in the admin directory?)

also, wanted to clear the cache etc but cant get into admin to see if the links would still work in the navigation for products