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,720

Results 4,481 to 4,500 of 5,058
20 Sep 2010, 5:12 PM
#4481
yellow1912 avatar

yellow1912

Totally Zenned

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

Simple SEO URL (OLD version) [support thread]

On line 16 of the latest version of SSU there is no code refer to yclass, perhaps you do not have the latest version, or perhaps when you upgraded you missed 1 or more files :) Latest version is 3.8.5 btw

20 Sep 2010, 5:17 PM
#4482
flyingorange avatar

flyingorange

New Zenner

Join Date:
Oct 2009
Posts:
5
Plugin Contributions:
0

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

yellow1912:

On line 16 of the latest version of SSU there is no code refer to yclass, perhaps you do not have the latest version, or perhaps when you upgraded you missed 1 or more files :) Latest version is 3.8.5 btw

Ugh headache. Will go install everything again (4th or 5th time now). Pretty sure it was 3.8.5

20 Sep 2010, 5:39 PM
#4483
flyingorange avatar

flyingorange

New Zenner

Join Date:
Oct 2009
Posts:
5
Plugin Contributions:
0

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

Another installation was the charm, working great now, thanks!

21 Sep 2010, 1:43 AM
#4484
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

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

I have ssu v3.7.1 installed on zc 1.3.8a and my htaccess is:

BOF SSU

Options +FollowSymLinks -MultiViews
RewriteEngine On

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

and I double checked with my hosting company, mod rewrite is on.

Anything else that I can check?

and yes, I have module manager installed and working.

21 Sep 2010, 1:56 AM
#4485
diapercakesgifts avatar

diapercakesgifts

New Zenner

Join Date:
Sep 2010
Posts:
3
Plugin Contributions:
0

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

Hi, guys, I have Zencart v1.3.8,
I installed Module Manager (and its working), and I installed Simple SEO URL Version: 3.5.8.

After finishing the installation, my index page works fine, but I get 500 Internal Server Error on all other pages (links).
The http adresses are good too, for example: for category it would give http://www.MySite/cake-c-3.

I checked MySite/admin configuration, its the same as people suggest in the forum.
I was missing cache/.... directories, so i added them
I checked my htacces in root directory and it seems fine, it reads:

<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>

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 /www.*******.com/

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,PT]

EOF SSU

Please help!!!!

I don't know what more i can check to make this awesome contribution work.

Thank you!

21 Sep 2010, 1:57 AM
#4486
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Difficult to say because your htaccess configuration must be based on the location of your store. You can visit yourstore/ssu_check.php to see the suggested configuration

autoace:

I have ssu v3.7.1 installed on zc 1.3.8a and my htaccess is:

BOF SSU

Options +FollowSymLinks -MultiViews
RewriteEngine On

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

and I double checked with my hosting company, mod rewrite is on.

Anything else that I can check?

and yes, I have module manager installed and working.

21 Sep 2010, 2:19 AM
#4487
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

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

I did, thats what it suggested! Anything else I can check.

21 Sep 2010, 2:22 AM
#4488
yellow1912 avatar

yellow1912

Totally Zenned

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

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

autoace:

I did, thats what it suggested! Anything else I can check.

  1. If you server is using IIS instead of Apache, better get the latest version
  2. In fact, better get the latest version in any case
  3. Make sure you have uploaded ALL files correctly, missing one or two files is not uncommon
  4. If all done and still not work, check to make sure mod_rewrite is really working
    http://www.wallpaperama.com/disp-post19.html
21 Sep 2010, 3:03 AM
#4489
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

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

yellow1912:

  1. If you server is using IIS instead of Apache, better get the latest version
  2. In fact, better get the latest version in any case
  3. Make sure you have uploaded ALL files correctly, missing one or two files is not uncommon
  4. If all done and still not work, check to make sure mod_rewrite is really working
    http://www.wallpaperama.com/disp-post19.html

Its weird, but I think I worked out the kinks here with the htaccess. I noticed one irregularity between what I had and what was suggested (ssu_check) and so I changed it to that and then it started to work halfway. The urls were coming up but the css was not being called. So I checked my error logs and the line that ends with !-f was causing an error and being ignored, so I commented that out, now my css is being called but my admin serves a 500 internal error. So I guessed that it was the line below that (ends with !-d) and commented it out. Now it works! Both front and back ends and the css is being called!

Now I just need to know how to set the ssu config in admin so that my urls are better.

Currently, I am getting:

https://www.domain.com/air/air/replacement - for the product info display pages. How do I configure ssu so that it writes it like this:

https://www.domain.com/engine-and-drivetrain/k-n-air-filter etc

I'm the top level cat and then the product name should work well.

Please remember I have ssu v3.7.1. Thanks so much for your help :)

21 Sep 2010, 3:07 AM
#4490
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Better check your htaccess, perhaps you should post it here. Remove or editing htaccess rules correctly may have serious effect

If you look in your admin, so will see the current divider for categories being set as "/", you can change it to something else and reset ssu cache. If you have SSU Alias on you will need to clear out alias table as well.

autoace:

Its weird, but I think I worked out the kinks here with the htaccess. I noticed one irregularity between what I had and what was suggested (ssu_check) and so I changed it to that and then it started to work halfway. The urls were coming up but the css was not being called. So I checked my error logs and the line that ends with !-f was causing an error and being ignored, so I commented that out, now my css is being called but my admin serves a 500 internal error. So I guessed that it was the line below that (ends with !-d) and commented it out. Now it works! Both front and back ends and the css is being called!

Now I just need to know how to set the ssu config in admin so that my urls are better.

Currently, I am getting:

www.domain.com/air/air/replacement - for the product info display pages. How do I configure ssu so that it writes it like this:

www.domain.com/engine-and-drivetrain/k-n-air-filter etc

I'm the top level cat and then the product name should work well.

Please remember I have ssu v3.7.1. Thanks so much for your help :)

21 Sep 2010, 3:11 AM
#4491
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

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

As suggested by you, please have a look:

BOF SSU

Options +FollowSymLinks -MultiViews

RewriteEngine On

RewriteBase /

Deny access from .htaccess

RewriteRule ^.htaccess$ - [F]

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

EOF SSU

The lines that end with !-f and !-d are the ones I commented out, everything seems to be working fine....

21 Sep 2010, 3:15 AM
#4492
yellow1912 avatar

yellow1912

Totally Zenned

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

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

This is all you have? (nothing else in this htaccess file?)

BTW, I thought I should explain the 3 most important lines there:

RewriteCond %{SCRIPT_FILENAME} !-f
--> if the url does not point to a real file
RewriteCond %{SCRIPT_FILENAME} !-d
--> if the url does not point to a real folder
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA]
--> then do the rewrite

If you comment out the 2 lines above, it means even if yourste.com/something.html or yoursite.com/abc points to real file/folder, you will still be redirected. So keep that in mind.

I would recommend you contact your host with the error details you got to see why the 2 lines above dont work as they should

autoace:

As suggested by you, please have a look:

BOF SSU

Options +FollowSymLinks -MultiViews

RewriteEngine On

RewriteBase /

Deny access from .htaccess

RewriteRule ^.htaccess$ - [F]

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

EOF SSU

21 Sep 2010, 3:18 AM
#4493
yellow1912 avatar

yellow1912

Totally Zenned

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

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

something very important: it also means visitors visit the old urls may not be redirected correctly to new ones, they may see all not found pages

21 Sep 2010, 12:39 PM
#4494
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

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

This is what happens when I work late at night LOL... I actually had 2 copies of the ssu code in the htacces file and that is what was causing the issues.

I now uncommented those 2 lines with a cleaned up htaccess file and the admin and front end both work!

No, that was not the whole file, I just thought you meant to show you the ssu part. Anyway all is well again!

BTW, thank you for the heads up, I probably would not have double checked if you had not said anything!

21 Sep 2010, 4:43 PM
#4495
diapercakesgifts avatar

diapercakesgifts

New Zenner

Join Date:
Sep 2010
Posts:
3
Plugin Contributions:
0

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

Hi,

I was following the suggestions you gave to autoace with .htaccess file hoping that it may fix my 500 too. So now i do not get 500 on all the links, but i get 404 on every single one of them. Do you have any suggestions?

My .htaccess lookls like this now:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

BOF SSU

Options +FollowSymLinks -MultiViews
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 /www.diapercakesgifts.com/

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,PT]

EOF SSU

Your help would be greatly appreciated!

22 Sep 2010, 12:55 AM
#4496
yellow1912 avatar

yellow1912

Totally Zenned

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

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

I dont think this is correct

RewriteBase /www.diapercakesgifts.com/

If your store is located at

https://www.diapercakesgifts.com/store for example then you need

RewriteBase /store/

of your store is located at

https://www.diapercakesgifts.com

then you need to use

RewriteBase /

22 Sep 2010, 9:39 AM
#4497
diapercakesgifts avatar

diapercakesgifts

New Zenner

Join Date:
Sep 2010
Posts:
3
Plugin Contributions:
0

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

Thank you for your help! :D It works now! :clap:

If anyone has the same problem with 500 error this is the way my .htaccess looks now:

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

24 Sep 2010, 4:13 AM
#4498
nintendoparts avatar

nintendoparts

New Zenner

Join Date:
Jul 2010
Posts:
49
Plugin Contributions:
0

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

I have SSU 3.84 working on ZenCart 1.39f (I recently upgraded from ZenCart 1.39d)

An example if one of my sites URL's is:

.nintendoparts.com.au/screens-c-2_5/ds-lite-bottom-lcd-screen-p-2

But I would like them to look like:

**
.nintendoparts.com.au/ds-lite-bottom-lcd-screen-p-2.html**

I have changed the setting in config>Simple SEO URL to

ID delimiter -
Name delimiter -
File extension html
**Set max category level 0 **
Exclude list advanced_search_result,redirect,popup_image_additional,download,wordpress
Set Link Alias Status false
Set minimum word length 0
Set maximum name length 0
Set SSU Status true
Set SSU Multi Language Status false
Set Query Key's Exclude List zenid,gclid,number_of_uploads,number_of_downloads,action,sort,page,disp_order,filter_id,alpha_filter_id,currency
Set Auto Alias Status false
Set Category Separator /
Hide default language identifier true
Cache reset time 1285300633

The settings in bold I though would give me the result I'm after, but changing these setting seems to have absolutely no effect. Does anyone have any suggestions as to I how I could get the .html at the end of my URL's and have no categories or subcategories within the URL?

24 Sep 2010, 6:18 AM
#4499
boylibre avatar

boylibre

New Zenner

Join Date:
Sep 2010
Posts:
3
Plugin Contributions:
0

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

Hi,
I'm using zc 1.3.9f running on a hosted shared server.
PHP version is 5.2.13.
I just installed Simple SEO v3.8.5 and I got error 404.

I checked with my hoster and they mentioned that mod_rewrite is enabled but option +FollowSymLinks is not allowed in shared server environment due to security restrictions. They suggested to use other rewrite rules.

I tried removing the particular line that contain option +FollowSymLinks and I'm able to get access to my shop again. So my question is, is it OK to just remove that line? or is there any other way to get around this? any help would be much appreciated.

Here is the content of my htaccess now.

BOF SSU

RewriteEngine On
RewriteBase /

Deny access from .htaccess

RewriteRule ^.htaccess$ - [F]

Existing files shouldn't get rewritten

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f

The rest can go to ZC

#RewriteRule ^(.+) index.php/$1 [E=VAR1:$1,QSA,L]
RewriteRule ^(.+) index.php/$1 [E=VAR1:$1,QSA,L,PT]

EOF SSU

TIA,
boylibre

24 Sep 2010, 6:33 AM
#4500
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

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

Nintendoparts:

I have SSU 3.84 working on ZenCart 1.39f (I recently upgraded from ZenCart 1.39d)

An example if one of my sites URL's is:

.nintendoparts.com.au/screens-c-2_5/ds-lite-bottom-lcd-screen-p-2

But I would like them to look like:

**
.nintendoparts.com.au/ds-lite-bottom-lcd-screen-p-2.html**

I have changed the setting in config>Simple SEO URL to

ID delimiter -
Name delimiter -
File extension html
**Set max category level 0 **
Exclude list advanced_search_result,redirect,popup_image_additional,download,wordpress
Set Link Alias Status false
Set minimum word length 0
Set maximum name length 0
Set SSU Status true
Set SSU Multi Language Status false
Set Query Key's Exclude List zenid,gclid,number_of_uploads,number_of_downloads,action,sort,page,disp_order,filter_id,alpha_filter_id,currency
Set Auto Alias Status false
Set Category Separator /
Hide default language identifier true
Cache reset time 1285300633

The settings in bold I though would give me the result I'm after, but changing these setting seems to have absolutely no effect. Does anyone have any suggestions as to I how I could get the .html at the end of my URL's and have no categories or subcategories within the URL?

I have had similar problems with SSU not showing urls how I wanted. In my case SSU kept showing the ID's. The only way I found to correct it was to actually delete all the folders inside the SSU cache then go to Extras->SSU Manager and Reset All Cache.