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

Results 3,581 to 3,600 of 5,058
8 Aug 2009, 10:40 PM
#3581
eavinu avatar

eavinu

New Zenner

Join Date:
Jan 2009
Posts:
37
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

Please HELP:

I have zen cart 1.3.8a and simple seo url latest verion installed.

The problem is after I installed a new language and set "set ssu multi language status = true".

the thing is my default language is currently english, and when I click on the hebrew icon the url goes to "..../en/he" instead of just ".../he".

The hebrew icon shows the url ".../he" but redirects to a 404 page not found as described above.

Any help is appreciated.
Thanx!

8 Aug 2009, 10:50 PM
#3583
countrycharm avatar

countrycharm

Totally Zenned

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

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

Yellow this has nothing to do with seo, just wanted to know if you are over at twitter too, if so what is the name you go by their..

8 Aug 2009, 10:51 PM
#3584
eavinu avatar

eavinu

New Zenner

Join Date:
Jan 2009
Posts:
37
Plugin Contributions:
0

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

yellow1912:

http://wiki.rubikintegration.com/zencart/modules/ssu/config

Check "Multi Language Support".

Also, post your site url.

Hi yellow1912,
Read many of your posts, thank you for the prompt reply.

the local.config.php is set correctly and also he.php is saved on hebrew-windows encoding as my hebrew.php file.
utf-8 doesn't work for me.

the url is https://www.israelijewel.com/zohar

8 Aug 2009, 11:07 PM
#3586
eavinu avatar

eavinu

New Zenner

Join Date:
Jan 2009
Posts:
37
Plugin Contributions:
0

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

yellow1912:

@countrycharm: yes, it is: http://twitter.com/rubikint

@eavinu: should be he.php
Also, I suspect you are not using the latest version, where did you download it? Latest version can be grabbed here (totally free):
http://eazy-templates.com/web-templates/zen-cart/modules/simple-seo-url

OK now i'm with Beta 3.7.1 and the problem of the url is gone but still going on a 404 page not found.

any suggestions?

8 Aug 2009, 11:15 PM
#3587
yellow1912 avatar

yellow1912

Totally Zenned

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

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

After upgrading, make sure you recheck all the settings again, is multi language on? How about the config file?
If you want, I can take a look in the site for you, simple shoot me a pm with your temp admin and ftp login

9 Aug 2009, 2:53 AM
#3588
gomlers avatar

gomlers

Zen Follower

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

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

Yellow1912 !! Thank you - great working module! Just fantastic!

I have one small question though..

My store is in Norwegian - we use the letters æ, ø, and å. (ÆØÅ)

Is it possible to get this shown as æ = ae, ø=o and å=aa?
OR of course as æ, ø, å.

I think I read earlier in this thred that I could make this by doing some coding in the parser_something - but can you give more spesific directions? :)

Thank you again - this rules!

9 Aug 2009, 3:02 AM
#3589
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Gomlers, yes you can.

First, assuming the language code for Norwegian is "no" (please check, Im not sure)

Create a file named no.php

Put it in includes/classes/ssu/plugins/languages/

Now, for the content of the file, put it:
(make sure this php file is utf8 encoded)

<?php
/**
* @package Pages
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: ru.php 218 2009-07-20 02:38:17Z yellow1912 $
*/
    // note: we can later move part of this function into sub-functions, which we can store in the base class.
class SSULanguageNo extends SSULanguage{
    static function parseName($name){
        $cyrillic = array("æ",  "ø",  "å");
           
        $translit = array("ae", "o", "a");
        
        $name = str_replace($cyrillic, $translit, $name);
        
        $name = strtolower($name);
   
        // we replace any non alpha numeric characters by the name delimiter
        $name = self::removeNonAlphaNumeric($name, SSUConfig::registry('delimiters', 'name'));
        
        // Remove short words first
        $name = self::removeShortWords($name, SSUConfig::registry('configs', 'minimum_word_length'), SSUConfig::registry('delimiters', 'name'));
        
        // trim the sentence
        $name = self::trimLongName($name);
                
        // remove excess SSUConfig::registry('delimiters', 'name')
        $name = self::removeDelimiter($name);
        
        // remove identifiers
        $name = self::removeIdentifiers($name);
        
        // remove trailing _
        $name = trim($name, SSUConfig::registry('delimiters', 'name'));
        
        return urlencode($name);    
    }
}
```Then rename local.config.php.example in  includes/classes/ssu/ to local.config.php and edit it:

```php
<?php
/**
* @package Pages
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: local.config.php.example 149 2009-03-04 05:23:35Z yellow1912 $
*/
    
    $ssuLocalConfig = array(      
        'languages'        =>    array(    'no'    =>    'no'
                                    )
    );

Then go to Admin->Extras->SSU Manager to clear out the cache then check your links again.
Troubleshooting:

  1. Make sure the first file is uploaded with utf8 encode
  2. Make sure the language code is correct (this is easy, in the normal form Zencart language links look like this: index.php?.......&language=language_code
    More info:
    http://wiki.rubikintegration.com/zencart/modules/ssu/for_developers/parsers/language_parser#how_to_create_your_own_parser

Note that I assume the language code is "no"

9 Aug 2009, 1:48 PM
#3590
gomlers avatar

gomlers

Zen Follower

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

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

Wow! Thank you for a perfect answer, and such quick reply - when this is the service you give for your free products... I wouldn't hesitate to buy anything from you later :)
This really saves it - I have a lot of special characters in the product category-names/products-names, and it doesn't look real good right now ;)

Thank you again!! :)

9 Aug 2009, 2:14 PM
#3591
gomlers avatar

gomlers

Zen Follower

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

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

I did what you said, and it works perfectly!

The only thing which didn't work was to save the first file as UTF-8, I needed to save it as ASCII.
Don't know why, but it works like a charm :)

Now I only need to go through the aliases and learn how they work - my URL's got a little too long.

Btw, what's the difference between the real rewritten link, and the alias? - What would google see?

9 Aug 2009, 4:55 PM
#3592
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 use aliases, google will only see the aliases
(this makes sure that each page should have only 1 url)

9 Aug 2009, 9:46 PM
#3594
diapercakesmall avatar

diapercakesmall

New Zenner

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

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

Great addon.
I have a question about duplicate content and names of categories in URLs for products.
If I have one product in different categories for ease of use for customers, then I get multiple urls for the same page.
For example: same t-shirt is in male category and in large category and in black t-shirts.

site.com/male/mytshirt
site.com/large/myshirt
site.com/blackshirts/myshirt

Same item description is ending up in 3 different urls, which is duplicate content. Any way to avoid that?
I would love to find a way to just have all the link in the root of the store ( without any category level).

Thank you!

10 Aug 2009, 9:28 AM
#3595
majorphill avatar

majorphill

New Zenner

Join Date:
Aug 2009
Posts:
8
Plugin Contributions:
0

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

yellow1912:

Unlike Apache's mod_rewrite, there are a bunches of addons for iis for mod rewrite. Can you ask him the exact name of the module is being use, and the link to usage documentation?

Regards

I have been given the place he looked to get the infohttp://forums.redfoxuk.com/search.php?searchid=386963
Hope this is useful.

Phill

10 Aug 2009, 9:56 AM
#3596
eavinu avatar

eavinu

New Zenner

Join Date:
Jan 2009
Posts:
37
Plugin Contributions:
0

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

Hello Yellow1912,

I still have the problem with the encoding.

The Hebrew website works perfect on "windows-1255" and not on "utf-8".

The problem is with the urls, as the he.php is not working on "windows-1255".

Is there a way to have the urls in english even when the website goes to Hebrew?

Thank you in advance,
Eran.

10 Aug 2009, 10:18 AM
#3597
yellow1912 avatar

yellow1912

Totally Zenned

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

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

diapercakesmall:

Great addon.
I have a question about duplicate content and names of categories in URLs for products.
If I have one product in different categories for ease of use for customers, then I get multiple urls for the same page.
For example: same t-shirt is in male category and in large category and in black t-shirts.

site.com/male/mytshirt
site.com/large/myshirt
site.com/blackshirts/myshirt

Same item description is ending up in 3 different urls, which is duplicate content. Any way to avoid that?
I would love to find a way to just have all the link in the root of the store ( without any category level).

Thank you!

You can use cannonical links for this purpose. I will think about adding cannonical feature in the next version

10 Aug 2009, 10:21 AM
#3598
yellow1912 avatar

yellow1912

Totally Zenned

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

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

MajorPhill:

I have been given the place he looked to get the infohttp://forums.redfoxuk.com/search.php?searchid=386963
Hope this is useful.

Phill
Phill,

Im not sure how this will help. While Apache has only mod_rewrite, IIS has multiple modules used to rewrite url, each module may have certain rules as well. Which is why I need to know exactly which module is being used, which version, and then I will have to search the documentation for that module to see how I can port the current htaccess rules in linux to be used in your case.

10 Aug 2009, 10:25 AM
#3599
yellow1912 avatar

yellow1912

Totally Zenned

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

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

eavinu:

Hello Yellow1912,

I still have the problem with the encoding.

The Hebrew website works perfect on "windows-1255" and not on "utf-8".

The problem is with the urls, as the he.php is not working on "windows-1255".

Is there a way to have the urls in english even when the website goes to Hebrew?

Thank you in advance,
Eran.
For this, perhaps you should contact the user named xordox on this forum, he is using hebrew on his site I believe:

Using utf8 url: usim dot co dot il (this is a live site)
Using translated url ovo dot co dot il (this is a test site)

12 Aug 2009, 4:21 PM
#3600
creamcrackers avatar

creamcrackers

Zen Follower

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

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

Hi

How does this compare to Magic SEO URLs?

What are the benefits and drawbacks?

Cant i choose the text for my URL? It mentions that I have to "write my own plugin" to do that, what does that mean?

Thanks