character translation

hi,
For example i have a album named Şehirler.It seems lıke %FEhirler.html
i want it to sehirler.html.
So i want to replace turkish characters(ÅŸ,u,ÄŸ..) to (s,u,g) in the link.Can i do this with .htaccess?

Comments

  • sti51 Member
    is there anyone can help me?
  • acrylian Administrator, Developer
    Zenphoto does not have a .html suffix to its albums. Most servers I know simply don't work with these characters. If you upload album folders via ftp the easiest thing would be to rename them on your local computer before uploading. There are dozens of tools that do that. Try www.versiontracker.com for example to find one.
  • sti51 Member
    i think so i couldn't explain my problem for example;
    my album name in the site is ÅŸehirler
    in the seo link it seems:www.galery.com/%FEhirler.html/
    i want like :www.galery.com/sehirler.html/
  • Then you will have to name the album sehirler.html in the first place.

    There is a differenct between the file names of albums and images and their displayed names. You can use any characters you like in the titles, but the file names must conform to file server and WEB browser constraints. In your case, the accented characters are converted into their escaped equivalents by the PHP function that makes WEB safe strings out of the filename.

    see http://us.php.net/manual/en/function.urlencode.php for a description. Apparently your PHP believes that these accented characters are not alphanumeric.
  • sti51 Member
    i'm sorry i wrote wrong.
    correct is;
    my album name in the site is ÅŸehirler
    in the seo link it seems:www.gallery.com/%FEhirler/
    i want like :www.gallery.com/sehirler/

    %FE to s that's my desire
    Finally i want php to translate ÅŸ to s not to %FE in the link.In my country this characters are being used in a lot of name.
    Because of this i want to use this character in my indexpage for the album names.In our country the coders are using a method to translate but i don't know how it's being done
    Thank you for your patience
  • You will have to make that change yourself. Do it through FTP, the same way you uploaded the folder. There is not much we can do for you within Zenphoto as the PHP runtime is making the change from ÅŸ to %FE.

    As for your index page, simply use the administrator interface to give your album a Title. There you can put whatever characters your server supports.
Sign In or Register to comment.