Print Page | Close Window

Soe url turkish character title problem

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=31639
Printed Date: 17 May 2022 at 10:15pm
Software Version: Web Wiz Forums 12.05 - http://www.webwizforums.com


Topic: Soe url turkish character title problem
Posted By: muhittinemmi
Subject: Soe url turkish character title problem
Date Posted: 31 October 2019 at 8:51pm



What can be done so that the Turkish characters are not deleted from the link title?

sample
Türkçekarakter


result:
forum_posts.asp?TID=10406&title=trkekarakter


What should I do to have it as follows
forum_posts.asp?TID=10406&title=turkcekarakter





Replies:
Posted By: WebWiz-Bruce
Date Posted: 04 November 2019 at 12:08pm
Sorry only ASCII characters are supported by the SEO Title.

For Turkish you should disable "Page Titles in URL" from the SEO page in the forum admin area.


-------------
http://www.facebook.com/WebWiz" rel="nofollow - Find Web Wiz on Facebook
http://twitter.com/WebWizUK" rel="nofollow - Follow Web Wiz on Twitter


Posted By: yandr
Date Posted: 24 August 2020 at 1:41pm
I have the same issue, but with Greek characters.

Is there a technical reason you do not allow that? There are other forums that provide URL rewrites for any language so I was wondering if you can just point me to where I could investigate and enhance this.


Posted By: WebWiz-Bruce
Date Posted: 25 August 2020 at 7:51am
I believe that the problem was at the time it was developed that many browsers could only handle URL's that used ASCII characters.

The function that creates the URL Rewrite page names is called 'SeoUrlTitle' in the 'functions_filters.asp' file.

By restricting the characters to ASCII characters it prevents the forum from being hacked as it also strips out any dangerous tags from being included in the URL.


-------------
http://www.facebook.com/WebWiz" rel="nofollow - Find Web Wiz on Facebook
http://twitter.com/WebWizUK" rel="nofollow - Follow Web Wiz on Twitter


Posted By: yandr
Date Posted: 25 August 2020 at 1:24pm
Related to this subject, it would be preferable if page_link_inc.asp would create the SEO formated links instead of the ones with the parameters, by incorporating the SeoUrlTitle function.


Posted By: WebWiz-Bruce
Date Posted: 25 August 2020 at 3:46pm
Not all links can be configured as they can pass a large range of different data. Page links is one of these.

-------------
http://www.facebook.com/WebWiz" rel="nofollow - Find Web Wiz on Facebook
http://twitter.com/WebWizUK" rel="nofollow - Follow Web Wiz on Twitter


Posted By: muhittinemmi
Date Posted: 21 February 2021 at 8:59am
Originally posted by muhittinemmi muhittinemmi wrote:




What can be done so that the Turkish characters are not deleted from the link title?

sample
Türkçekarakter


result:
forum_posts.asp?TID=10406&title=trkekarakter


What should I do to have it as follows
forum_posts.asp?TID=10406&title=turkcekarakter




functions/functions_filters.asp

Find


'*************************************
'*** SEO Friendly URL Titles   *****
'**************************************

'for URL rewrite search engine friendly page titles
Private Function SeoUrlTitle(ByVal strInputEntry, strPrefix)

    Dim intLoopCounter
    Dim objRegExp

    If blnSeoTitleQueryStrings = False Then Exit Function
    
    'Swap to lower case
    strInputEntry = strInputEntry
    
    'Remove any HTML encoding
    strInputEntry = decodeString(strInputEntry)

    strInputEntry = Replace(strInputEntry, "_", " ", 1, -1, 1)
    strInputEntry = Replace(strInputEntry, ".", " ", 1, -1, 1)
    strInputEntry = Replace(strInputEntry, "/", " ", 1, -1, 1)
    strInputEntry = Replace(strInputEntry, "+", " ", 1, -1, 1)

Add below
strInputEntry = Replace(strInputEntry,     "ş", "s", 1, -1, 1)
    strInputEntry = Replace(strInputEntry, "ı", "i", 1, -1, 1)
    strInputEntry = Replace(strInputEntry, "ç", "c", 1, -1, 1)
    strInputEntry = Replace(strInputEntry, "ü", "u", 1, -1, 1)
    strInputEntry = Replace(strInputEntry, "ö", "o", 1, -1, 1)
    strInputEntry = Replace(strInputEntry, "ğ", "g", 1, -1, 1)

result
forum_posts.asp?TID=10406&title=turkcekarakter



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.05 - http://www.webwizforums.com
Copyright ©2001-2022 Web Wiz Ltd. - https://www.webwiz.net