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

Results 921 to 940 of 5,058
20 Oct 2008, 4:21 AM
#921
yellow1912 avatar

yellow1912

Totally Zenned

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

Simple SEO URL (OLD version) [support thread]

Alex Clarke:

When I said that 'nothing loads' I actually meant that the page attempts to load... forever.

If I turn SSU off everything works fine.

I'll check my server logs for clues.
Dont forget to post the logs here as well

21 Oct 2008, 5:19 PM
#922
dewed avatar

dewed

New Zenner

Join Date:
Oct 2008
Posts:
1
Plugin Contributions:
0

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

Hopefully this is an easy one.. :smile:

I'm creating a Zen Cart site with SSU Beta 2.9.6, but right now the site is only accessible via the IP/~username .. like
http://SERVER-IP/~username/

Before adding SSU, the store worked, so I'm sure I have the paths correct in the 2 /include/configure.php files , but after adding SSU all I get is the defined ZC 404 page, even on the home page ..

I have the
RewriteBase /~username/ in the .htaccess file

and
define('HTTP_SERVER', 'http://SERVER-IP/~username/');
in the /include/configure.php file

and that is apparently correct, since the links appear to point to the right place, but everything gives the ZC 404 page ..

http://SERVER-IP/~username/index.php redirects, losing index.php and serves the 404

Oddly a category page like ...
http://SERVER-IP/~username/category-name-c-5

shows the correct category names and links in the breadcrumb, but the page still shows the 404 text and sitemap

I tried adding the cgi.fix_pathinfo = 1 to php.ini (as well as php5.ini) but didn't see any change, flushing the SEO cache after every change.

Any ideas ?

21 Oct 2008, 7:45 PM
#923
yellow1912 avatar

yellow1912

Totally Zenned

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

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

You configure.php setting is incorrect. I believe the documents go with this package has a portion that explains how to correctly config it.

Sorry cant help you more for now, Im on the go.

21 Oct 2008, 10:03 PM
#924
yellow1912 avatar

yellow1912

Totally Zenned

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

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

dewed:

Hopefully this is an easy one.. :smile:

I'm creating a Zen Cart site with SSU Beta 2.9.6, but right now the site is only accessible via the IP/~username .. like
http://SERVER-IP/~username/

Before adding SSU, the store worked, so I'm sure I have the paths correct in the 2 /include/configure.php files , but after adding SSU all I get is the defined ZC 404 page, even on the home page ..

I have the
RewriteBase /~username/ in the .htaccess file

and
define('HTTP_SERVER', 'http://SERVER-IP/~username/');
in the /include/configure.php file

and that is apparently correct, since the links appear to point to the right place, but everything gives the ZC 404 page ..

http://SERVER-IP/~username/index.php redirects, losing index.php and serves the 404

Oddly a category page like ...
http://SERVER-IP/~username/category-name-c-5

shows the correct category names and links in the breadcrumb, but the page still shows the 404 text and sitemap

I tried adding the cgi.fix_pathinfo = 1 to php.ini (as well as php5.ini) but didn't see any change, flushing the SEO cache after every change.

Any ideas ?

 Code:
   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:
Code:
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.

22 Oct 2008, 8:19 PM
#925
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]

Hello Yellow,
Thanks again for cool mod :D
I have a couple of questions (ver.2.9.6):

  1. When I add ```php
    //bof simple seo url
    $ssu=new simple_seo_url();
    $ssu->set_category_name($categories_id);
    //eof simple seo url
Try with 0ff ssu, on ssu and clear cashe.
2. I use Points and Reward Full site mod, when SSU is off I can see reward points in product page info:
<http://www.laptop.gg/index.php?main_page=product_info&cPath=4&products_id=827>
when I turn it on, its disappear:
<http://www.bestfashion.me/skirts-c-4/beige-embroidery-skirt-with-ties-p-827>
3. I use also xml google site map, all pages in english like: tops-c-8/silver-print-sun-orange-top-p-542/ Google eat very well, but with other language like: /%D0%BF%D0%BB%D0%B0%D1%82%D1%8C%D1%8F-c-3/deep-blue-ruffle-lace-dress-p-222/language/ru I have error for all 900 pages in google Webmaster Tools 
Please help me resolve this problems :smile:
22 Oct 2008, 8:28 PM
#926
yellow1912 avatar

yellow1912

Totally Zenned

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

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

//bof simple seo url
$ssu=new simple_seo_urlCOLOR=#007700;
$ssu->set_category_nameCOLOR=#007700;
[/COLOR]//eof simple seo url

-->remove it for now, this is out of date. I will update the instruction in the next coming version, sorry for the problem

[/COLOR]2. I use Points and Reward Full site mod, when SSU is off I can see reward points in product page info:
http://www.laptop.gg/index.php?main_...roducts_id=827
when I turn it on, its disappear:
http://www.bestfashion.me/skirts-c-4...ith-ties-p-827

I see what you mean. I suspect that this module attaches itself to auto_loads before the SSU module has a chance to parse url.
Or it's just some problem with the way it catches the products_id not working well with SSU. This should be a simple fix. Which Reward point is being used?

  1. Problem with languages has been mentioned, it was due to the way the non latin, unicode language is parsed. This is being worked on. In the mean time, do you want to use english names for these links?
22 Oct 2008, 8:46 PM
#927
yellow1912 avatar

yellow1912

Totally Zenned

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

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

For reward point, if you are using the module I think you are using, then go to

tpl_product_reward_points.php
Edit, and replace
$_REQUEST['products_id']

by
$_GET['products_id']

You will need to replace at 2 locations I think

22 Oct 2008, 9:03 PM
#928
yellow1912 avatar

yellow1912

Totally Zenned

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

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

To answer the question regarding language handling, I will repost something posted with more explanation:

Thank you. And I'm glad to announce that there is a hot fix now for sites that support Russian language.

It may not be perfect yet, but at least it will display the category name on the link clearly.
HOWEVER, HOWEVER, there IS a drawback: it does work on FF, it just does not work on IE (we use the same encoding technique wiki uses, see http://ru.wikipedia.org/wiki)

And also, because it is encoded this way, it may NOT help with search engine.

Anyhow, this is update is recommended for those who support multi-langs.

I think in the next version I will give you another option here: you can tell SSU to always use english names.

I'm also open to suggestion here, if you have experience working with utf-8 url please share it here.Anyhow, non-latin languages are very tricky to properly parse and put on url. So I'm open for any suggestion.
Also, in the mean time:
The language parsing classes are moved to includes/classes/ssu/languages/ so you can customize the way you want to parse names (assuming that you are comfortable with php)
The default.php is used for all languages, the language_code.php (such as ru.php) is used for a specific language only.

On another issue, Im also considering taking Magic Seo Url 's approach, so for sites with multi-languages you will have links like this:

http://site.com/en/usual_link_here
http://site.com/ru/usual_link_here

With this approach, the language codes(en, ru, cn, ...) will always appear in all links on these sites. To those who will be affected by this change, do you prefer it that way? (if you have only 1 language on your site, dont worry about it, your links will stay the same.)

23 Oct 2008, 2:29 AM
#929
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]

Thank you Yellow for quick answers.

  1. I delete it from admin-categories.php, now its works.
  2. I change also tpl_product_reward_points.php and now reward appear :clap:
  3. I think it will be best way and easy for users http://site.com/en/usual_link_here,
    instead http://site.com/usual_link_here /language/ru.
  4. but at least it will display the category name
    Please tell me is it possible change manually the category name?
    Because when I write down link in russian in address bar, SSU work and I got the page,in all browsers.
    I try to changed it in cache/ssu/categories/4_ru
    was %D0%AE%D0%91%D0%9A%D0%98-c-4 I changed it with utf-8 notepad+ to russian: ЮБКИ-c-4. But its show same in IE7 :%D0%AE%D0%91%D0%9A%D0%98-c-4.
    Thanks

23 Oct 2008, 2:33 AM
#930
yellow1912 avatar

yellow1912

Totally Zenned

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

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

If you dont have too many categories, the experiment version in my signature has a feature called link-alias

You can also edit includes/classes/ssu/languages/ru.php to change the way the links are parsed.

On a side note, can you go to phpmyadmin, and see how the russian names are stored, and copy 1 name here? Just for reference.

23 Oct 2008, 2:35 AM
#931
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Please tell me is it possible change manually the category name?
Because when I write down link in russian in address bar, SSU work and I got the page,in all browsers.
I try to changed it in cache/ssu/categories/4_ru
was %D0%AE%D0%91%D0%9A%D0%98-c-4 I changed it with utf-8 notepad+ to russian: ЮБКИ-c-4. But its show same in IE7 :%D0%AE%D0%91%D0%9A%D0%98-c-4.
Thanks

Also go to cache/ssu/pc/ and delete all files in there, now the new change will be reflectedon the url.

23 Oct 2008, 3:09 AM
#932
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]

-- Table structure for table categories_description

CREATE TABLE IF NOT EXISTS categories_description (
categories_id int(11) NOT NULL default '0',
language_id int(11) NOT NULL default '1',
categories_name varchar(32) NOT NULL default '',
categories_description text NOT NULL,
PRIMARY KEY (categories_id,language_id),
KEY idx_categories_name_zen (categories_name),
FULLTEXT KEY categories_name (categories_name),
FULLTEXT KEY categories_name_2 (categories_name)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table categories_description

INSERT INTO categories_description (categories_name) VALUES
('ACCESSORIES'),
('DRESSES'),
('HANDBAGS'),
('JEANS / PANTS'),
('SKIRTS'),
('TOPS'),
('АКСЕССУАРЫ'),
('БЛУЗКИ'),
('ДЖИНСЫ / БРЮКИ'),
('ПЛАТЬЯ'),
('СУМКИ'),
('ЮБКИ'),
('אביזרים'),
('ג ''ינס / מכנסיים'),
('חולצות'),
('חציות'),
('שמלות'),
('תיקים');

I delete all content of ssu/pc, ssu/pruducts but no changes.
I think I need to try your new version. But I also have a question, when I update SSU, for example from 2.8 to 2.9.6 in admin-tools-module manager-List all modules:
yellow1912_ssu 5 Beta 2.8
Its normal?
Thanks

23 Oct 2008, 3:11 AM
#933
yellow1912 avatar

yellow1912

Totally Zenned

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

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

  1. It's normal.
  2. I dont think you need to upgrade, maybe we just need to change the parse function a bit. I'm waiting for a_berezin to get back to me regarding russian parsing, he has more experience than me in that.
23 Oct 2008, 10:09 PM
#934
yellow1912 avatar

yellow1912

Totally Zenned

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

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

General roadmap for reference:

2.9.x
will still receive support + bug fixes etc.... No new features will be added, however
Multi-language support is being worked on as well.

**3.2.x **
Total code rewrite is being worked on to provide plug-and-play ability
No more support for PHP4, PHP5 will be the minimum requirement
Adding support for news, articles and all kinds of links that can have names on links

24 Oct 2008, 3:25 AM
#935
edgecrusher avatar

edgecrusher

New Zenner

Join Date:
Jan 2006
Posts:
33
Plugin Contributions:
0

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

Hi,
I'm getting a blank pages on a few categories. Everything else works fine. I have worked around it deleting the nonworking category and creating a new one, but it's kind of annoying because I will not be able to be on top of this site forever, and want to leave it functioning.

Thanks for any help.

Here is the error report:

Notice: Undefined index: ssu in /home1/mastert4/public_html/includes/autoload_func.php on line 86

Notice: Undefined offset: 1 in /home1/mastert4/public_html/includes/init_includes/init_ssu.php on line 91

Notice: Constant OFFICE_IP_TO_HOST_ADDRESS already defined in /home1/mastert4/public_html/includes/languages/english/email_extras.php on line 52

Warning: Cannot modify header information - headers already sent by (output started at /home1/mastert4/public_html/includes/autoload_func.php:86) in /home1/mastert4/public_html/includes/init_includes/init_templates.php on line 78

Notice: Constant TABLE_HEADING_PRODUCTS already defined in /home1/mastert4/public_html/includes/languages/english/index.php on line 69

Notice: Constant TABLE_HEADING_QUANTITY already defined in /home1/mastert4/public_html/includes/languages/english/index.php on line 73

Warning: Cannot modify header information - headers already sent by (output started at /home1/mastert4/public_html/includes/autoload_func.php:86) in /home1/mastert4/public_html/includes/functions/functions_general.php on line 44

Notice: Object of class queryFactoryResult could not be converted to int in /home1/mastert4/public_html/includes/functions/functions_general.php on line 19

24 Oct 2008, 3:27 AM
#936
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Which version are you using?
Do you have a link so I can look at?

Regards

edgecrusher:

Hi,
I'm getting a blank pages on a few categories. Everything else works fine. I have worked around it deleting the nonworking category and creating a new one, but it's kind of annoying because I will not be able to be on top of this site forever, and want to leave it functioning.

Thanks for any help.

Here is the error report:

Notice: Undefined index: ssu in /home1/mastert4/public_html/includes/autoload_func.php on line 86

Notice: Undefined offset: 1 in /home1/mastert4/public_html/includes/init_includes/init_ssu.php on line 91

Notice: Constant OFFICE_IP_TO_HOST_ADDRESS already defined in /home1/mastert4/public_html/includes/languages/english/email_extras.php on line 52

Warning: Cannot modify header information - headers already sent by (output started at /home1/mastert4/public_html/includes/autoload_func.php:86) in /home1/mastert4/public_html/includes/init_includes/init_templates.php on line 78

Notice: Constant TABLE_HEADING_PRODUCTS already defined in /home1/mastert4/public_html/includes/languages/english/index.php on line 69

Notice: Constant TABLE_HEADING_QUANTITY already defined in /home1/mastert4/public_html/includes/languages/english/index.php on line 73

Warning: Cannot modify header information - headers already sent by (output started at /home1/mastert4/public_html/includes/autoload_func.php:86) in /home1/mastert4/public_html/includes/functions/functions_general.php on line 44

Notice: Object of class queryFactoryResult could not be converted to int in /home1/mastert4/public_html/includes/functions/functions_general.php on line 19

24 Oct 2008, 3:29 AM
#937
yellow1912 avatar

yellow1912

Totally Zenned

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

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

BTW, looking at the error, I can be 99% sure that you are not using version 2.9.6 which is the latest stable version
Regards

24 Oct 2008, 3:34 AM
#938
edgecrusher avatar

edgecrusher

New Zenner

Join Date:
Jan 2006
Posts:
33
Plugin Contributions:
0

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

yellow1912:

BTW, looking at the error, I can be 99% sure that you are not using version 2.9.6 which is the latest stable version
Regards

Wow, I downloaded this mod last thursday or friday.
Well I'll try upgrading and see if that fixes it.

Also, here is the category that is blank

http://mastersoftails.com/c-5

This is the site if you want to see the other categories.
http://mastersoftails.com/index

And Thanks, this was fast.

24 Oct 2008, 3:36 AM
#939
yellow1912 avatar

yellow1912

Totally Zenned

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

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

edgecrusher:

Wow, I downloaded this mod last thursday or friday.
Well I'll try upgrading and see if that fixes it.

Also, here is the category that is blank

http://mastersoftails.com/c-5

This is the site if you want to see the other categories.
http://mastersoftails.com/index

And Thanks, this was fast.
BTW, did you set category name level to 0? Try to set to 1 at least.
The link shows that you either set level to 0, or it somehow could not retrieve the name of this category.

Latest version is here btw:
http://public.rubikintegration.com/

24 Oct 2008, 3:55 AM
#940
edgecrusher avatar

edgecrusher

New Zenner

Join Date:
Jan 2006
Posts:
33
Plugin Contributions:
0

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

yellow1912:

BTW, did you set category name level to 0? Try to set to 1 at least.
The link shows that you either set level to 0, or it somehow could not retrieve the name of this category.

Latest version is here btw:
http://public.rubikintegration.com/

Ok, Upgraded, turned the SSU off, and I keep getting errors on that category, so I guess the problem is elsewhere.

One question, what do you mean with "set category name level to 1"?

Thanks again