Author |
Topic Search Topic Options
|
muhittinemmi
Newbie
Joined: 13 June 2009
Status: Offline
Points: 3
|
Post Options
Thanks(0)
Quote Reply
Topic: Soe url turkish character title problem 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
Edited by muhittinemmi - 01 November 2019 at 7:06pm
|
|
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Online
Points: 9791
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
yandr
Groupie
Joined: 10 March 2009
Status: Offline
Points: 106
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Online
Points: 9791
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
yandr
Groupie
Joined: 10 March 2009
Status: Offline
Points: 106
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Online
Points: 9791
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
muhittinemmi
Newbie
Joined: 13 June 2009
Status: Offline
Points: 3
|
Post Options
Thanks(0)
Quote Reply
Posted: 21 February 2021 at 8:59am |
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
|
|