vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Localization + Mod Rewrite (https://vborg.vbsupport.ru/showthread.php?t=265211)

Jean Boucher 06-14-2011 08:45 PM

Localization + Mod Rewrite
 
I am using an .htaccess that I have found here:
https://www.vbulletin.com/forum/show...taccess/page15

My Forum will be in French & we use accented characters...
The problem is: with Mod Rewrite the accented caracters are being used in the composition of the URLS...

Example here:
http://www.tribuseo.com/threads/2-2e-test-accents-???

Jean Boucher 06-18-2011 03:23 PM

Found this:
http://www.unexpectedit.com/php/php-...lar-ascii-char

and this:
http://www.yourinspirationweb.com/en...l-second-part/

but I don't know how to implement it

LifesGreatestGift 06-19-2011 02:26 AM

You don't want to use mod_rewrite/.htaccess, should ideally be done in php.

You using UTF-8?

Look into something like this
https://www.vbulletin.com/forum/show...rting-to-UTF-8

--------------- Added [DATE]1308502327[/DATE] at [TIME]1308502327[/TIME] ---------------

Actually, try this

AdminCP>Settings>Options>Friendly URLs>

Look at Friendly URL Unicode

And try the different settings to see which one best suits your site URL format.

Jean Boucher 06-20-2011 12:31 AM

Yes I am using UTF-8

Here is a screen capture of a test URL:

http://www.tribuseo.com/accents.png

As you can see I have accented characters in the URL.

You were mentionning doing this in PHP

How do I do this?
Which file?


All times are GMT. The time now is 08:27 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01071 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete