logo
WSN Links PHP Directory Software
Features Showcase Reviews Demos Purchase Manual Support
 

Diacritics in mode rewrite

Version: 3.3.17


Diacritics in mode rewrite
befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic
Total Topics: 48
Total Posts: 82
Posted 09/22/06 - 06:20 AM:
quote post
#1
Hallo Paul,

I need use mode rewrite with category names in URL and link names in link details URL. But I have title of categories and links with diacritics (Czech language).

For example name of links is Školení.

When I use link names in link details URL after adress of links detail is:

http://www.example23.com/links/AnkolenAs-1.html

How can I create URL links detail without diacritic ? I need this:

http://www.example23.com/links/Skoleni-1.html



Thank you.








Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 09/25/06 - 10:18 AM:
quote post
#2
I don't think there is a way, short of compiling your own personal translation table in the remove_accents function.
befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic
Total Topics: 48
Total Posts: 82
Posted 11/20/07 - 04:51 AM:
quote post
#3
Hallo Paul,

I want to use new version WSNlinks (4.1.15) with correct rewrite adress categories, links details. etc but now rewrite URL in WSN is not possible use in East Europe (Diacritic in name of title links or categories is used frequently there).

I have translation table for all problematic characters, but I dont know how this insert into wsn file.

Thank you for your help.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 11/21/07 - 11:48 AM:
quote post
#4
Post it and I'll impliment it.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 11/22/07 - 09:34 AM:
quote post
#5
Also I'm adding a tweaks option to specify extra charachters to change. $accenttweak will be effective from 4.1.16.
befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic
Total Topics: 48
Total Posts: 82
Posted 11/27/07 - 07:05 AM:
quote post
#6
Hallo Paul

I want start "experiments" with Rewrite URL and .htacces (by use 4.1.16), but I have this problem:

My webhosting require removing Options +FollowSymlinks line from the htaccess file.

I removed this and I uploaded new .htacces to my web (set chmod to 666).

But when I updated Settings SEO from Admin, Settings update OK, but ERROR 500 is displayed after redirect.

When I controled my .htacces on the web, it is contains again Options +FollowSymlinks on the first line !!!!!.

Thanks for help


Edited by befeleme on 11/27/07 - 11:55 AM
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 11/27/07 - 11:18 PM:
quote post
#7
If you need a custom htaccess, make sure you set it to not automatically generate it in the SEO settings.
befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic
Total Topics: 48
Total Posts: 82
Posted 11/28/07 - 12:33 AM:
quote post
#8
Paul,

When I turn ON Auto-write .htaccess, .htacces is automatically changed and Options +FollowSymlinks is added on the first line?

When I want use .htacces without Options +FollowSymlinks must I turn off Auto-write .htaccess?

Thank you.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 11/29/07 - 10:54 AM:
quote post
#9
Yes.

Unfortunately I don't think there's any way to detect automatically that a host needs to omit it. Statements of the problem around the web seem to say little except that it's a very rare need:
http://corz.org/serv/tricks/htaccess2.php wrote:
* Although highly unlikely, your host may have +FollowSymLinks enabled at the root level, yet disallow its addition in .htaccess; in which case, adding +FollowSymLinks will break your setup (probably a 500 error), so just remove it, and your rules should work fine.
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

Admin Control Panel

   
Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support
© 2008 Paul Knierim. All rights reserved.