ebchost Posted November 30, 2011 Share Posted November 30, 2011 Description of the problem This is actual link of example news an my webpage: http://www.sportskevesti.co/index.php?opcija=vest&vest_id=61212 i want to show ul link like this: http://www.sportskevesti.co/vest/prosinečki-avanzuje-posle-odlaska-adžića explanation of the wanted link - /vest/ - option (i have 2 option: vest and kategorija).................. translate: vest is news and kategorija is category - prosinečki-avanzuje-posle-odlaska-adžića - is title of news (Prosinečki avanzuje posle odlaska Adžića!) Q1:for now i create in database fild "permalink", but, i do not know how to convert title of the news "Prosinečki avanzuje posle odlaska Adžića!" to new perma link "prosinečki-avanzuje-posle-odlaska-adžića" Q2:whether it is wise to use serbian latin letter in permalink (čćžđš and џљњжђп....) ? Quote Link to comment Share on other sites More sharing options...
trq Posted November 30, 2011 Share Posted November 30, 2011 a1) See strtolower & str_replace. a2) No. Quote Link to comment Share on other sites More sharing options...
ebchost Posted November 30, 2011 Author Share Posted November 30, 2011 a1) See strtolower & str_replace. ok, thanks a2) No. Is posible to convert all or one by one? and how ? Quote Link to comment Share on other sites More sharing options...
Drongo_III Posted November 30, 2011 Share Posted November 30, 2011 I could be off the mark. But this sounds more like a .htaccess thing. Can't you just setup your .htaccess/mod rewrite to rewrite the url ? a1) See strtolower & str_replace. ok, thanks a2) No. Is posible to convert all or one by one? and how ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.