Hello, Seo Link Turkish Character Help Please


Subject: Hello, Seo Link Turkish Character Help Please
Seo link turkish

thread title : ü ş ı İ Ö ö Ç ç I

www.xxxx.com/uml-g-cedil-c-i-vp8.html#p8


I want to link : www.xxxx.com/u_s_i_i_o_o_c_c_i-vp8.html#p8

Help Please

Thanks

Profile PM  
Subject: Re: Hello, Seo Link Turkish Character Help Please
Your links are SPAM links :censored:

Last edited by mort on Sun 23 Dec, 2012 01:20; edited 1 time in total
Profile PM  
Subject: Re: Hello, Seo Link Turkish Character Help Please
mort wrote: [View Post]
Your links are SPAM links :censored: SPAMMER!


NO Spam :evil:

I want to come out the links properly .

Thread Title: ü ş ı İ Ö ö Ç ç I
the link : www.xxxx.com/uml-g-cedil-c-i-vp8.html#p8


want to come out link : www.xxxx.com/u-s-i-i-o-o-c-c-i-vp8.html#p8

Profile PM  
Subject: Re: Hello, Seo Link Turkish Character Help Please
I see no reason at all to assume this has anything to do with spam Mort, uMiTs even seems to be not new to Icy, I think he just posted some example links.

However I don't understand the question, could you explain in a different way please uMiTs??

Greetings,
...Joshua203(@home)

Subject: Re: Hello, Seo Link Turkish Character Help Please
Joshua203 wrote: [View Post]
I see no reason at all to assume this has anything to do with spam Mort.


Then it would have been better if he had posted a link to their own site and not something that takes one to a freelancer site when it's tested. :P

And the only sense that I can make out of the question is that he wants to optimise the title for SEO and strip/convert the characters in it. ?

But of course, one doesn't know what version of Icy he is using, could be 1.3 / *.17 or anything else for that matter. :(

Quote:
...Joshua203(@home)


Terrific! Just in time for Christmas. :xmas_02:

Profile PM  
Subject: Re: Hello, Seo Link Turkish Character Help Please
I use icyphoenix 2.0

i'm forum :
http://www.frmevi.com/phpbb/tet-forum-1-vf3.html

sample thread :

ü ş ı İ Ö ö Ç ç I

seo link :
http://www.frmevi.com/phpbb/uml-g-cedil-c-i-vt8.html

Profile PM  
Subject: Re: Hello, Seo Link Turkish Character Help Please
I still can't understand exactly what you are suggesting?

And I'm not even sure if you have picked the right forum software to use - For one - It doesn't have right to left if you want to use Arabic.

http://www.icyphoenix.com/viewtopic.php?p=52032#p52032

My friend - no offence, but until someone creates a Turkish language file for Icy Phoenix, or you have a very good grasp of the English or one of the other languages, you are wasting your time here looking for someone to help.

I suspect that you want to switch to SEO, and you can do that in the ACP - But what is the point if there is no language file for your native tongue?

Google Translation:

Arkadaşım - Birisi Icy Phoenix için Türkçe dil dosyası oluşturur, ya da çok iyi İngilizce kavramak ya da diğer dillerden birine sahip kadar gücenme ama, size yardım edecek birisini arıyorsanız burada zaman harcıyorsun.

Sana SEO geçmek istediğiniz şüpheleniyorsanız ve ACP de bunu yapabilir - Ama sizin anadiliniz için hiçbir dil dosyası varsa ne anlamı var?

Last edited by mort on Sat 29 Dec, 2012 22:42; edited 1 time in total
Profile PM  
Subject: Re: Hello, Seo Link Turkish Character Help Please
He wants the links to be converted by taking into accounts some specific Turkish letters.

uMiTs, you can try to alter this function in functions.php:

Code: [Download] [Hide] [Select]
/**
* Cyrillic to Latin chars conversion
*/
function utf_cyr_to_latin($string, $reverse = false)
{
$cyr = array(
'а', 'б', 'в', 'г', 'д',
'e', 'ж', 'з', 'и', 'й',
'к', 'л', 'м', 'н', 'о',
'п', 'р', 'с', 'т', 'у',
'ф', 'х', 'ц', 'ч', 'ш',
'щ', 'ъ', 'ь', 'ю', 'я',
'А', 'Б', 'В', 'Г', 'Д',
'Е', 'Ж', 'З', 'И', 'Й',
'К', 'Л', 'М', 'Н', 'О',
'П', 'Р', 'С', 'Т', 'У',
'Ф', 'Х', 'Ц', 'Ч', 'Ш',
'Щ', 'Ъ', 'Ь', 'Ю', 'Я'
);

$lat = array(
'a', 'b', 'v', 'g', 'd',
'e', 'zh', 'z', 'i', 'y',
'k', 'l', 'm', 'n', 'o',
'p', 'r', 's', 't', 'u',
'f', 'h', 'ts', 'ch', 'sh',
'sht', 'a', 'y', 'yu', 'ya',
'A', 'B', 'V', 'G', 'D',
'E', 'Zh', 'Z', 'I', 'Y',
'K', 'L', 'M', 'N', 'O',
'P', 'R', 'S', 'T', 'U',
'F', 'H', 'Ts', 'Ch', 'Sh',
'Sht', 'A', 'Y', 'Yu', 'Ya'
);

$string = !empty($reverse) ? str_replace($lat, $cyr, $string) : str_replace($cyr, $lat, $string);

return $string;
}


Let me know if you succeed with this so I can implement it in future code.

Subject: Re: Hello, Seo Link Turkish Character Help Please
I was afraid that I may have put him off asking for any more help, or pursuing this thread because of my earlier response, so I've PM'd him to hopefully bring him back to this thread to see if it can be resolved.

:oops:

Profile PM  
Subject: Re: Hello, Seo Link Turkish Character Help Please
Not :(
I have tried :(

ş ascii code : ş > s ascii code : s
Ş ascii code : Ş > s ascii code : s
İ ascii code : İ > i ascii code : i
ı ascii code : ı > i ascii code : i
ö ascii code : ö > o ascii code : o
Ö ascii code : Ö > o ascii code : o
ç ascii code :ç > c ascii code : c
Ç ascii code : Ç > c ascii code : c
ğ ascii code : ğ > g ascii code : g
Ğ ascii code : Ğ > g ascii code : g


Help :(

Profile PM  
Subject: Re: Hello, Seo Link Turkish Character Help Please
uMiTs wrote: [View Post]
Not :( I have tried :( Help :(


Would you like to tell us your php expertise on a rating from 1 to 10?

Because what you posted does not even resemble a function? So we can only guess what, where or how you are trying to add it. :(

Profile PM  
Subject: Re: Hello, Seo Link Turkish Character Help Please
Try to replace the old function with this:

Code: [Download] [Hide] [Select]
/**
* Cyrillic to Latin chars conversion
*/
function utf_cyr_to_latin($string, $reverse = false)
{
$cyr = array(
'а', 'б', 'в', 'г', 'д',
'e', 'ж', 'з', 'и', 'й',
'к', 'л', 'м', 'н', 'о',
'п', 'р', 'с', 'т', 'у',
'ф', 'х', 'ц', 'ч', 'ш',
'щ', 'ъ', 'ь', 'ю', 'я',
'А', 'Б', 'В', 'Г', 'Д',
'Е', 'Ж', 'З', 'И', 'Й',
'К', 'Л', 'М', 'Н', 'О',
'П', 'Р', 'С', 'Т', 'У',
'Ф', 'Х', 'Ц', 'Ч', 'Ш',
'Щ', 'Ъ', 'Ь', 'Ю', 'Я'
);

$lat = array(
'a', 'b', 'v', 'g', 'd',
'e', 'zh', 'z', 'i', 'y',
'k', 'l', 'm', 'n', 'o',
'p', 'r', 's', 't', 'u',
'f', 'h', 'ts', 'ch', 'sh',
'sht', 'a', 'y', 'yu', 'ya',
'A', 'B', 'V', 'G', 'D',
'E', 'Zh', 'Z', 'I', 'Y',
'K', 'L', 'M', 'N', 'O',
'P', 'R', 'S', 'T', 'U',
'F', 'H', 'Ts', 'Ch', 'Sh',
'Sht', 'A', 'Y', 'Yu', 'Ya'
);

$string = !empty($reverse) ? str_replace($lat, $cyr, $string) : str_replace($cyr, $lat, $string);

$tur = array('Ş', 'ş', 'İ', 'ı', 'Ö', 'ö', 'Ç' , 'ç', 'Ğ', 'ğ');
$lat = array('S', 's', 'I', 'i', 'O', 'o', 'C', 'c', 'G', 'g');
$string = !empty($reverse) ? str_replace($lat, $tur, $string) : str_replace($tur, $lat, $string);

return $string;
}


Let me know if it works.


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1203s (PHP: 29% SQL: 71%)
SQL queries: 12 - Debug Off - GZIP Enabled