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 2,261 to 2,280 of 5,058
12 Feb 2009, 11:46 PM
#2261
ggbear avatar

ggbear

New Zenner

Join Date:
Feb 2009
Posts:
2
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

Hi yellow, thanks a lot for your hard work!

Just thought you might want to change some instructions that may be unclear:

1)In the installation wiki you say 3. Don't forget to change the “RewriteBase” in .htaccess as instructed in that file

"that file" could mean any file, and is especially confusing since the previous instruction referred to checking "configure.php"

2)The instructions Make sure to change "test_site" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /
RewriteBase /zencart/
in the .htaccess file are inaccurate, it should read either change "zencart" or RewriteBase /test_site/

13 Feb 2009, 1:05 AM
#2262
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Thank you, changes have been made to wiki, the htaccess file instruction is updated for the next version as well.

ggbear:

Hi yellow, thanks a lot for your hard work!

Just thought you might want to change some instructions that may be unclear:

1)In the installation wiki you say 3. Don't forget to change the “RewriteBase” in .htaccess as instructed in that file

"that file" could mean any file, and is especially confusing since the previous instruction referred to checking "configure.php"

2)The instructions Make sure to change "test_site" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /
RewriteBase /zencart/
in the .htaccess file are inaccurate, it should read either change "zencart" or RewriteBase /test_site/

13 Feb 2009, 1:07 AM
#2263
yellow1912 avatar

yellow1912

Totally Zenned

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

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

jason32835:

Hello - I'm having the exact same problem as "r1formetoo".. I belive I have installed the most recent version, and I am running Zen Cart 1.3.8a

Everything seems to be working, but it won't let me add anything to the cart.

Here is my site: igoplayer.com
This is what you should have in tpl_product_info_display.php
Let me know if the action=add_product part is somehow missing from that.

<?php echo zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($_GET['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product'), 'post', 'enctype="multipart/form-data"') . "\n"; ?>
13 Feb 2009, 8:57 AM
#2264
jeet_kune_do avatar

jeet_kune_do

Zen Follower

Join Date:
Nov 2008
Location:
Slovenija
Posts:
119
Plugin Contributions:
0

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

I have problem with multilanguages option on. In the URL i have
https://www.myshop.com/shop/it/it/it/ The it occuring three times, makes my page resulting as not found.
and the https://www.myshop.com doesn't work too.

A appreciate your help!

Best regards.

13 Feb 2009, 9:01 AM
#2265
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Jeet Kune Do:

I have problem with multilanguages option on. In the URL i have
www.myshop.com/shop/it/it/it/ The it occuring three times, makes my page resulting as not found.
and the www.myshop.com doesn't work too.

A appreciate your help!

Best regards.
I think this has been answered before, you need to let SSU know the languages you are using

http://www.zen-cart.com/forum/showthread.php?p=682664&highlight=local.config#post682664

13 Feb 2009, 3:05 PM
#2266
jason32835 avatar

jason32835

New Zenner

Join Date:
Feb 2009
Posts:
3
Plugin Contributions:
0

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

yellow1912:

This is what you should have in tpl_product_info_display.php
Let me know if the action=add_product part is somehow missing from that.

<?php echo zen_draw_form('cart_quantity', zen_href_link(zen_get_info_page($_GET['products_id']), zen_get_all_get_params(array('action')) . 'action=add_product'), 'post', 'enctype="multipart/form-data"') . "\n"; ?>

Hi,

I checked this file, which I found in the "template_default" directory and yes it did contain that code exactly. Any more help would be greatly appreciated... thank you for your effort.
13 Feb 2009, 4:34 PM
#2267
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Are you sure you are using the template default? I think that is the main question. Since 2 people encounter the same error, I'm interested in digging this up and find out the reason. If that's okie for you, create a temporary ftp password and send me via PM I can help you to check

Raine

13 Feb 2009, 5:20 PM
#2268
yellow1912 avatar

yellow1912

Totally Zenned

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

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

yellow1912:

Are you sure you are using the template default? I think that is the main question. Since 2 people encounter the same error, I'm interested in digging this up and find out the reason. If that's okie for you, create a temporary ftp password and send me via PM I can help you to check

Raine
Done. It turns out that you are really using an older version. Upgrading to SSU 3.6.1 fixed your problem. Now you also have tha auto-alias feature added, if you want to turn it on you have to go to your ssu config in admin and turn the switches on.

Then you will have to clear ssu cache.

13 Feb 2009, 5:22 PM
#2269
jason32835 avatar

jason32835

New Zenner

Join Date:
Feb 2009
Posts:
3
Plugin Contributions:
0

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

yellow1912:

Done. It turns out that you are really using an older version. Upgrading to SSU 3.6.1 fixed your problem. Now you also have tha auto-alias feature added, if you want to turn it on you have to go to your ssu config in admin and turn the switches on.

Then you will have to clear ssu cache.

Ahh!!! Thank you so much! Your are awsome and your mod is awsome!

:clap::clap:

13 Feb 2009, 6:02 PM
#2270
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

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

Just installed SSU and get the following error when try to turn on from admin>tools

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/zencryst/public_html/MysticLady11801/includes/classes/ssu.php on line 12

Also, my store front has disappeared!

running zencart version Zen Cart 1.3.8a

Please help...

13 Feb 2009, 6:11 PM
#2271
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

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

to add to my post above...

I am confused about the .htaccess file...

here is my current .htaccess file

# Use PHP5 as default
AddHandler application/x-httpd-php5 .php

and the install instructions say

WARNING:

A. If your path_to_store/.htaccess file is not blank, do NOT overwrite it. Open the .htaccess 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

I am not sure what any of this means...

Do I simply cut and paste the installation .htaccess info above and simply add it to my current .htaccess file?

any help would be appreciated

13 Feb 2009, 7:34 PM
#2272
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Craft Magick:

Just installed SSU and get the following error when try to turn on from admin>tools

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/zencryst/public_html/MysticLady11801/includes/classes/ssu.php on line 12

> 
> running zencart version Zen Cart 1.3.8a
> 
> Please help...
Your site is running php4, SSU does not support PHP4, it requires php 5. The fastest way to fix it for you now, is to go into includes/auto_loaders folders and remove any files SSU added (just compare with the same folder from SSU package)
14 Feb 2009, 6:12 AM
#2273
daffy avatar

daffy

Zen Follower

Join Date:
Jul 2008
Posts:
114
Plugin Contributions:
0

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

I followed the instructions to the letter, turned on the Simple SEO Url module and everything works perfectly the first time around. I love when that happens. :)

I'm very impressed with this module. Thank you very much!!

BTW, the link to the Manual/instructions isn't quite right.
I did find everything ok by hunting around, but the links to the docs needs to be revised to this:
http://wiki.rubikintegration.com/zencart/modules/ssu/about

Cyndy

14 Feb 2009, 9:40 AM
#2274
jeet_kune_do avatar

jeet_kune_do

Zen Follower

Join Date:
Nov 2008
Location:
Slovenija
Posts:
119
Plugin Contributions:
0

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

Thank's a lot! :clap:
You are awesome.

14 Feb 2009, 6:52 PM
#2275
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

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

yellow1912:

Your site is running php4, SSU does not support PHP4, it requires php 5. The fastest way to fix it for you now, is to go into includes/auto_loaders folders and remove any files SSU added (just compare with the same folder from SSU package)

Please bear with me and I'll try and provide as much info as possible to hopefully help someone troubleshoot this install for me...

I found out I am running PHP 5.2.8 so I modified my .htaccess file by just copying and pasting the contents of the .htaccess included with this mod to the end of my original one. Don't know if this was correct since I know nothing about .htaccess files but here's what my .htaccess file looks like now...

# Use PHP5 as default
AddHandler application/x-httpd-php5 .php


#### 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

This is what now shows up in admin>extras now when I click on Simple SEO URL manager...

 Instruction SSU caches your categories/products names and links in order to reduce the number of sql queries and minimize the performance penalty on your server. That has its drawback, however. If you change your categories/products names, you will need to reset the cache to force SSU reload and update the names.
Cache Functions Reset all cache: Click here
Reset alias cache: Click here
Reset only products cache: Click here
Reset only categories cache: Click here
Reset only pages cache: Click here
Alias Functions Manage Aliases: Click here

When I set SSU Status to TRUE In admin>config I get the following error in my store front when a link is clicked

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.zencrystals.com Port 80

I'm running zencart version 1.3.8a and PHP 5.2.8

Any ideas or suggestions would be appreciated :frusty:

14 Feb 2009, 6:53 PM
#2276
yellow1912 avatar

yellow1912

Totally Zenned

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

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

You did not change
RewriteBase /zencart/

If you are running on root folder, change to
RewriteBase /

14 Feb 2009, 7:28 PM
#2277
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

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

yellow1912:

You did not change
RewriteBase /zencart/

If you are running on root folder, change to
RewriteBase /

Did it and its working :clap:

Thank you very, very much for your patience and help, yellowrose. I really appreciate it.

Quick question... is there a reason we do not want an .html or .php extension on the URL's? Just curious...

Zencart ROCKS

14 Feb 2009, 7:30 PM
#2278
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Craft Magick:

Did it and its working :clap:

Thank you very, very much for your patience and help, yellowrose. I really appreciate it.

Quick question... is there a reason we do not want an .html or .php extension on the URL's? Just curious...

Zencart ROCKS
Well, if you think about it, you want to have a nice, short, precise link (give the user enough info, no more no less)
What good will adding the .html or .php will do to your link? Will it help users in any way? Will it help search engine in any way?

If not, then why should you do so?

14 Feb 2009, 7:52 PM
#2279
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

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

Okay, I'm adding this mod to my second website now, which is a sub-domain of zencrystals.com

To hopefully avoid a lot of headaches and save time I'd like to be sure I'm changing the right things in the configure.php files

Here's what I'm reading in the installation instructions

define('HTTP_SERVER', 'http://www.site.com/subfolder');
 
define('HTTPS_SERVER', 'https://secure.site.com/~username/subfolder');

This may work in the normal ZC setting, but it will cause SSU to malfunction. You need to set like this:

define('HTTP_SERVER', 'http://www.site.com');
 
define('HTTPS_SERVER', 'https://secure.site.com');
 
define('DIR_WS_CATALOG', '/subfolder/');
 
define('DIR_WS_HTTPS_CATALOG', '/~username/subfolder/');

So basically, the http ones should contain only the domain name, no sub folders at all. 

And here is what is currently in my configure.php file

define('HTTP_SERVER', 'http://www.craftmagick.com');
  define('HTTPS_SERVER', 'https://www.zencrystals.com/craftmagick');

define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_FS_SQL_CACHE', '/home/zencryst/public_html/craftmagick/cache');

My questions is... would
define('HTTPS_SERVER', 'https://secure.site.com');
be

https://zencrystals.com

or

https://craftmagick.com

or

https://zencrystals.craftmagick.com

ALSO...

do I just leave
define('DIR_WS_HTTPS_CATALOG', '/');
as it is since it currently matches what is in my config.php file now?

ALSO....

in the .htaccess file would it be set to
REWRITE / craftmagick

I would just like to be sure before altering config.php files...

Thanks

14 Feb 2009, 7:55 PM
#2280
yellow1912 avatar

yellow1912

Totally Zenned

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

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

define('HTTP_SERVER', 'http://www.craftmagick.com');
define('HTTPS_SERVER', 'https://www.zencrystals.com');

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/craftmagick/');

define('DIR_FS_SQL_CACHE', '/home/zencryst/public_html/craftmagick/cache');