Re: Simple SEO URL [support thread]
Hey Guys,
Is there any way to disable the page number from showing up at the end of EZ page urls? I don't see a setting in config for it.
What about changing the delimeter to an underscore to match up with standardized way zen does it? How would you go about doing that change?
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
swamyg1
Hey Guys,
Is there any way to disable the page number from showing up at the end of EZ page urls? I don't see a setting in config for it.
What about changing the delimeter to an underscore to match up with standardized way zen does it? How would you go about doing that change?
1. Please use link alias for that purpose
2. You can also use link alias. And there was no option for _ because in the past Google did not treat _ as 'space', so this_is is viewed a thisis. I will add that option in the next version.
Re: Simple SEO URL [support thread]
To translate texts for example ñ -> n, or ó -> o in url, there is any place to form it...
Thanks
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
danilovig
To translate texts for example ñ -> n, or ó -> o in url, there is any place to form it...
Thanks
http://wiki.rubikintegration.com/zen...anguage_parser
Re: Simple SEO URL [support thread]
Gives me the following error :
Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php:34) in /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php:34) in /var/www/mainada.es/datos/web/demo_bebe/includes/classes/ssu/cores/link.php on line 176
version: 3.5.5
Set SSU Multi Language Status=true
/includes/classes/ssu/plugins/languages/es.php
PHP Code:
<?php
// note: we can later move part of this function into sub-functions, which we can store in the base class.
class SSULanguageRu extends SSULanguage{
static $registry;
static function parseName($name){
$cyrillic = array("ñ", "á", "é", "í", "ó", "ú");
$translit = array("n", "a", "e", "i", "o", "u");
$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'));
}
}
includes/classes/ssu/local.config.php
PHP Code:
<?php $ssuLocalConfig = array(
'plugins' => array('parsers' => array('manufacturers')),
'identifiers' => array('mf' => 'manufacturers'),
'languages' => array( 'es' => 'default'));
?>
Thanks
Quote:
Originally Posted by
yellow1912
Re: Simple SEO URL [support thread]
I'm having a strange error when using Safari on PC.
When I visit the site all links are suffixed by [FONT=Lucida Grande]"[/FONT][FONT=Lucida Grande]?zenid=a3bd5323lvn2i7qgvqfs964to2[/FONT]"
So the link to contact will be
[FONT=Lucida Grande]
website.com/contact?zenid=a3bd5323lvn2i7qgvqfs964to2[/FONT]
instead of
[FONT=Lucida Grande]
website.com/contact[/FONT]
If I click on one item, eg contact, then click on other items then [FONT=Lucida Grande]?zenid=a3bd5323lvn2i7qgvqfs964to2 dissappears.[/FONT]
The problem this is causing is when users logged into their account. If the [FONT=Lucida Grande]?zenid=a3bd5323lvn2i7qgvqfs964to2 is at the end of the url safari [/FONT]say it can't open the page as there are too many redirects.
Any ideas?
[FONT=Lucida Grande]
[/FONT]
Re: Simple SEO URL [support thread]
zenid is attached to the url at the beginning is how it should be.
Can you explain the login error step by step? (how to duplicate it)
Regards
Re: Simple SEO URL [support thread]
@danilovig
On link.php line 34 you can try this:
if(empty($languages_code) || !array_key_exists($languages_code, SSUConfig::registry('languages')))
Re: Simple SEO URL [support thread]
now not error, but I do not translate the characters
http://www.mainada.es/demo_bebe/es/el-ba-o-c-9
Thanks
Quote:
Originally Posted by
yellow1912
@
danilovig
On link.php line 34 you can try this:
if(empty($languages_code) || !array_key_exists($languages_code, SSUConfig::registry('languages')))
Re: Simple SEO URL [support thread]
Some ftp clients have problem with uploading utf8 content if the settings are not set correctly. Make sure your parse file is uploaded correctly
And also, your class name should be SSULanguageEs