Icy Phoenix

     
 

Hello, Seo Link Turkish Character Help Please

Hello, Seo Link Turkish Character Help Please

Article
Reply with quote    Download Post  
Post 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



 
uMiTs - View user's profile Send private message  
uMiTs [ Sat 22 Dec, 2012 09:58 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


Hello, Seo Link Turkish Character Help Please

Comments
Reply with quote    Download Post  
Post Re: Hello, Seo Link Turkish Character Help Please 
 
Your links are SPAM links  



 
Last edited by mort on Sun 23 Dec, 2012 01:20; edited 1 time in total 
mort - View user's profile Send private message  
mort [ Sat 22 Dec, 2012 10:43 ]
Reply with quote    Download Post  
Post Re: Hello, Seo Link Turkish Character Help Please 
 
mort wrote: [View Post]
Your links are SPAM links   SPAMMER!


NO Spam  

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



 
uMiTs - View user's profile Send private message  
uMiTs [ Sat 22 Dec, 2012 21:20 ]
Reply with quote    Download Post  
Post 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)



 
Joshua203 - View user's profile Send private message  
Joshua203 [ Sun 23 Dec, 2012 01:07 ]
Reply with quote    Download Post  
Post 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.  

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.  



 
mort - View user's profile Send private message  
mort [ Sun 23 Dec, 2012 01:37 ]
Reply with quote    Download Post  
Post 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



 
uMiTs - View user's profile Send private message  
uMiTs [ Sun 23 Dec, 2012 09:32 ]
Reply with quote    Download Post  
Post 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 
mort - View user's profile Send private message  
mort [ Sun 23 Dec, 2012 11:21 ]
Reply with quote    Download Post  
Post 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.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Sat 29 Dec, 2012 11:51 ]
Reply with quote    Download Post  
Post 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.

  



 
mort - View user's profile Send private message  
mort [ Sat 29 Dec, 2012 14:00 ]
Reply with quote    Download Post  
Post 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



 
uMiTs - View user's profile Send private message  
uMiTs [ Sat 29 Dec, 2012 19:49 ]
Reply with quote    Download Post  
Post 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.



 
mort - View user's profile Send private message  
mort [ Sun 30 Dec, 2012 13:55 ]
Reply with quote    Download Post  
Post 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.



 
Mighty Gorgon - View user's profile Send private message  
Mighty Gorgon [ Thu 10 Jan, 2013 14:40 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1
 
 




 


 

  cron