Member
Member
sti51   2008-04-16, 20:23
#1

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?

Member
Member
sti51   2008-04-17, 15:18
#2

is there anyone can help me?

Administrator
Administrator
acrylian   2008-04-17, 15:40
#3

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.

Member
Member
sti51   2008-04-17, 16:28
#4

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/

Member
Member
sbillard   2008-04-17, 16:34
#5

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.

Member
Member
sti51   2008-04-17, 22:54
#6

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

Member
Member
sbillard   2008-04-17, 23:13
#7

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.