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,101 to 3,120 of 5,058
22 May 2009, 9:33 PM
#3101
xordox avatar

xordox

Zen Follower

Join Date:
Sep 2008
Location:
Tel-Aviv-New York
Posts:
143
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

I just iclude the code of canonical tag, and my errors of duplicate titles and pages was reduced dramatically)
I'm a not programmer and if somebody can make this code better will be great.( I found it in internet and make small changes)
In /includes/templates/YOUR TEMPLATE/common in html_header.php

direct after <title><?php echo META_TAG_TITLE; ?></title> need to add:

<link rel="canonical" href="<?php
$original_url = HTTP_SERVER . $_SERVER['REQUEST_URI'];
$split_url = explode('?', $original_url);
$no_querystring_url = $split_url[0];
echo $no_querystring_url; ?>" />

also you need to exclude in SSU settings (admin part) "Set Query Key's Exclude List" the " max_display "

you can check how the canonical work in this links of my site:
http://www.usim.co.il/nokia?max_display=3&sort=20a&page=3
and
http://www.usim.co.il/nokia
Thanks

22 May 2009, 10:31 PM
#3102
sergiv avatar

sergiv

New Zenner

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

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

Hi, Yellow!
I've installed SSU version 3.6.7 on my site. I use the russion as default language for my site on zen 1.3.8a.
Then ulrs for categories was http://site/ru/-c-12 insted http://site/ru/mycategoryname-c-12
So I made some changes to ru.php

  1. I've added "return urlencode($name);" at the end of ru.php. !!! fix it.
  2. I use cp1251 (Windows Cyrillic) for Russian insted utf8 on my site. So I converted ru.php.
  3. I add some chars in translit for Ukrainian language
$cyrillic = array("'", "`", "і", "ї",  "є", "ж",   "ё",  "й", "ю",  "ь", "ч",  "щ",  "ц", "у", "к", "е", "н", "г", "ш",  "з", "х", "ъ", "ф", "ы", "в", "а", "п", "р", "о", "л", "д", "э", "я",  "с", "м", "и", "т", "б", "І", "Ї",  "Є",  "Ё",  "Й", "Ю",  "Ч",  "Ь", "Щ",  "Ц", "У", "К", "Е", "Н", "Г", "Ш",  "З", "Х", "Ъ", "Ф", "Ы", "В", "А", "П", "Р", "О", "Л", "Д", "Ж",  "Э",  "Я",  "С", "М", "И", "Т", "Б");
   		
$translit = array("",  "",  "i", "yi", "ye", "zh", "yo", "i", "yu", "",  "ch", "sh", "c", "u", "k", "e", "n", "g", "sh", "z", "h", "",  "f", "y", "v", "a", "p", "r", "o", "l", "d", "ye","ya", "s", "m", "i", "t", "b", "I", "YI", "YE", "YO", "I", "YU", "CH", "",  "SH", "C", "U", "K", "E", "N", "G", "SH", "Z", "H", "",  "F", "Y", "V", "A", "P", "R", "O", "L", "D", "Zh", "Ye", "Ya", "S", "M", "I", "T", "B");

Hope it will be useful for people.
Thanks for SSU! :bigups:

23 May 2009, 7:30 PM
#3103
wagnerguy avatar

wagnerguy

Zen Follower

Join Date:
Aug 2008
Posts:
334
Plugin Contributions:
0

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

ok, so i have this loaded, everything went well, now what do i do.. i hit the reset all caches and nothing happened.. I hit the Manage Aliases and nothing happened

here is what my hta looks like

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

BEGIN WordPress

END WordPress

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

any thoughts on what to do now.....

23 May 2009, 8:06 PM
#3104
gmrm avatar

gmrm

Zen Follower

Join Date:
Apr 2009
Location:
Oxford UK
Posts:
192
Plugin Contributions:
0

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

Hello all i cannot for the life of me get this to work . I have figured out that when i remove /includes/auto_loaders/config.ssu.php my site works but when i put that file in there i get a blank page on EVERY page . Please help me someone as i have been playing with this for over a week now with no joy.

23 May 2009, 8:47 PM
#3105
wagnerguy avatar

wagnerguy

Zen Follower

Join Date:
Aug 2008
Posts:
334
Plugin Contributions:
0

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

wagnerguy:

ok, so i have this loaded, everything went well, now what do i do.. i hit the reset all caches and nothing happened.. I hit the Manage Aliases and nothing happened

here is what my hta looks like

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

BEGIN WordPress

END WordPress

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

any thoughts on what to do now.....

Ok, i got it to work, but how to do i remove the c-2 and similar characters from the domain?

23 May 2009, 8:49 PM
#3106
xordox avatar

xordox

Zen Follower

Join Date:
Sep 2008
Location:
Tel-Aviv-New York
Posts:
143
Plugin Contributions:
0

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

to gmrm,
please tell what is the ver of zen-cart and ssu did you is install. and also please tell if you have installed "module manager" from Yellow1912 (without this mod SSU will not work)

23 May 2009, 8:54 PM
#3107
wagnerguy avatar

wagnerguy

Zen Follower

Join Date:
Aug 2008
Posts:
334
Plugin Contributions:
0

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

xordox:

to gmrm,
please tell what is the ver of zen-cart and ssu did you is install. and also please tell if you have installed "module manager" from Yellow1912 (without this mod SSU will not work)

i have the latest version i guess 1.3 and i have installed the module manager

23 May 2009, 8:56 PM
#3108
xordox avatar

xordox

Zen Follower

Join Date:
Sep 2008
Location:
Tel-Aviv-New York
Posts:
143
Plugin Contributions:
0

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

wagnerguy:

i have the latest version i guess 1.3 and i have installed the module manager

what is the ver of SSU?
EDITED: sorry I understand that you make it work, I ask a gmrm ;)

23 May 2009, 9:03 PM
#3109
gmrm avatar

gmrm

Zen Follower

Join Date:
Apr 2009
Location:
Oxford UK
Posts:
192
Plugin Contributions:
0

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

Hi mate thanks for the reply. I installed Module manager rev16.

I have version 1.3.8a new zen cart setup.

I have simple seo version 3-5-8

23 May 2009, 9:08 PM
#3110
xordox avatar

xordox

Zen Follower

Join Date:
Sep 2008
Location:
Tel-Aviv-New York
Posts:
143
Plugin Contributions:
0

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

gmrm:

Hi mate thanks for the reply. I installed Module manager rev16.

I have version 1.3.8a new zen cart setup.

I have simple seo version 3-5-8

please try to install 3.6.7 http://public.rubikintegration.com/

23 May 2009, 9:31 PM
#3111
gmrm avatar

gmrm

Zen Follower

Join Date:
Apr 2009
Location:
Oxford UK
Posts:
192
Plugin Contributions:
0

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

Hi mate it still displays a blank page on every page so i have had to remove config.ssu to get my site back on again. What is happening

23 May 2009, 9:36 PM
#3112
countrycharm avatar

countrycharm

Totally Zenned

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

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

wagnerguy:

Ok, i got it to work, but how to do i remove the c-2 and similar characters from the domain?

Go to admin/configuration/Simple_SEO_URL/ and Set Auto Alias Status to true. Clear your cache and you are good to go.

23 May 2009, 9:36 PM
#3113
gmrm avatar

gmrm

Zen Follower

Join Date:
Apr 2009
Location:
Oxford UK
Posts:
192
Plugin Contributions:
0

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

Hey now when i try to install the 3-6-7 version i am getting this error :-

1062 Duplicate entry 'SSU_FILE_EXTENSION' for key 2
in:
[INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('File extension', 'SSU_FILE_EXTENSION', '', 'Set the file extension you want (without the dot). Recommend: leave it blank. For more info please read the docs', @t4, 1, NOW(), NOW(), NULL, NULL), ('Name delimiter', 'SSU_NAME_DELIMITER', '-', 'Set delimiter to replace all non alpha-numeric characters in product/category names', @t4, 1, NOW(), NOW(), NULL, 'zen_cfg_select_option(array('-', '.'),'), ('ID delimiter', 'SSU_ID_DELIMITER', '-', 'Set delimiter separate product/category names and their ids', @t4, 1, NOW(), NOW(), NULL, 'zen_cfg_select_option(array('-', '.'),');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

23 May 2009, 9:46 PM
#3114
xordox avatar

xordox

Zen Follower

Join Date:
Sep 2008
Location:
Tel-Aviv-New York
Posts:
143
Plugin Contributions:
0

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

gmrm:

Hey now when i try to install the 3-6-7 version i am getting this error :

you need first to uninstall previous ver of ssu.
Do you have access in php my admin? from your host control panel, if Yes please go to "configuration" table and delete SSU entries (dont forget to backup your database before)
or if you backup your database before you installed the first ssu, you can upload backup and after install 3.6.7

23 May 2009, 9:55 PM
#3115
gmrm avatar

gmrm

Zen Follower

Join Date:
Apr 2009
Location:
Oxford UK
Posts:
192
Plugin Contributions:
0

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

Done all that, now i have version 3-6-7 and it still won't work. I keep getting blank pages . Please help.

Many thanks

23 May 2009, 9:59 PM
#3116
gmrm avatar

gmrm

Zen Follower

Join Date:
Apr 2009
Location:
Oxford UK
Posts:
192
Plugin Contributions:
0

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

If i got to admin/extras/simple seo manager it come up with this error now :(

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/fishingtac/domains/fishingtackleoxford.co.uk/public_html/admin/includes/classes/ssu.php on line 12

23 May 2009, 10:36 PM
#3117
countrycharm avatar

countrycharm

Totally Zenned

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

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

gmrm:

Hey now when i try to install the 3-6-7 version i am getting this error :-

1062 Duplicate entry 'SSU_FILE_EXTENSION' for key 2
in:
[INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('File extension', 'SSU_FILE_EXTENSION', '', 'Set the file extension you want (without the dot). Recommend: leave it blank. For more info please read the docs', @t4, 1, NOW(), NOW(), NULL, NULL), ('Name delimiter', 'SSU_NAME_DELIMITER', '-', 'Set delimiter to replace all non alpha-numeric characters in product/category names', @t4, 1, NOW(), NOW(), NULL, 'zen_cfg_select_option(array('-', '.'),'), ('ID delimiter', 'SSU_ID_DELIMITER', '-', 'Set delimiter separate product/category names and their ids', @t4, 1, NOW(), NOW(), NULL, 'zen_cfg_select_option(array('-', '.'),');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

first of all that is what Module Manger is for. Whenever you upgrade simple seo don't copy and past anything in your admin/tools install sql patches. Click module manger and click Install new modules and it will update your database with the current sql update.

23 May 2009, 10:37 PM
#3118
countrycharm avatar

countrycharm

Totally Zenned

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

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

gmrm:

Hello all i cannot for the life of me get this to work . I have figured out that when i remove /includes/auto_loaders/config.ssu.php my site works but when i put that file in there i get a blank page on EVERY page . Please help me someone as i have been playing with this for over a week now with no joy.

What does your .htaccess file look like. Sorry about that I went back and seen what it looks like.

23 May 2009, 11:29 PM
#3119
countrycharm avatar

countrycharm

Totally Zenned

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

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

gmrm:

If i got to admin/extras/simple seo manager it come up with this error now :(

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/fishingtac/domains/fishingtackleoxford.co.uk/public_html/admin/includes/classes/ssu.php on line 12
All the notices mean that the database patches are not installed for some reason? Is your server php5? The errors mean that your server is running php4, SSU requires php5.

23 May 2009, 11:44 PM
#3120
countrycharm avatar

countrycharm

Totally Zenned

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

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

gmrm:

Hey now when i try to install the 3-6-7 version i am getting this error :-

1062 Duplicate entry 'SSU_FILE_EXTENSION' for key 2
in:
[INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('File extension', 'SSU_FILE_EXTENSION', '', 'Set the file extension you want (without the dot). Recommend: leave it blank. For more info please read the docs', @t4, 1, NOW(), NOW(), NULL, NULL), ('Name delimiter', 'SSU_NAME_DELIMITER', '-', 'Set delimiter to replace all non alpha-numeric characters in product/category names', @t4, 1, NOW(), NOW(), NULL, 'zen_cfg_select_option(array('-', '.'),'), ('ID delimiter', 'SSU_ID_DELIMITER', '-', 'Set delimiter separate product/category names and their ids', @t4, 1, NOW(), NOW(), NULL, 'zen_cfg_select_option(array('-', '.'),');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

One more question I can think of is Do you use any table prefix on this zencart installation. Like zen_?