Webmastersite.net
Register Log In

Diacritics in mode rewrite

Comments on Diacritics in mode rewrite

befeleme
Experienced

Usergroup: Customer
Joined: Aug 27, 2005
Location: Czech Republic

Total Topics: 48
Total Comments: 82
Posted Sep 22, 2006 - 8:20 AM:

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
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 25, 2006 - 12:18 PM:

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 Comments: 82
Posted Nov 20, 2007 - 6:51 AM:

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
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 21, 2007 - 1:48 PM:

Post it and I'll impliment it.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 22, 2007 - 11:34 AM:

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 Comments: 82
Posted Nov 27, 2007 - 9:05 AM:

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
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 28, 2007 - 1:18 AM:

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 Comments: 82
Posted Nov 28, 2007 - 2:33 AM:

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
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 29, 2007 - 12:54 PM:

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
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.