blog.gifBlog - Tricks

Rubrics


Close Astuces

Close GuppYZine URL Rewriting Site

Close Site

Close Site GuppYZine URL Rewriting

Close Tricks

Last notes


19/11/2008 @ 00:54
...

22/04/2008 @ 10:17
...

25/10/2007 @ 23:00
Ajoute menu ...



Tricks

mycomputer.gifTirets instead underscores  -  by URLrewriting


Si vous préférez des tirets (-)  entre vos mots dans vos url, à la place des underscores (_)

ouvrez votre fichier inc/functions.php aux  lignes 1236 & 1237

et remplacez

  $­­­­textin = strtr($­­­­textin," àéèêëîï","_aeeeeii");
  $­­­­textout = eregi_replace("[^a-zA-Z0-9_]","",$­­­­textin);

par

  $­­­­textin = strtr($­­­­textin," àéèêëîï","-aeeeeii");
  $­­­­textout = eregi_replace("[^a-zA-Z0-9_-]","",$­­­­textin);


c'est tout tongue
Published on 12/10/2007 @ 17:19  
All the notes  Preview  Print the article 


react.gifComments


Nobody gave a comment yet.
Be the first one to do it!

Archives

10-2008 November 2008 12-2008
S M T W T F S
      01
02030405060708
09101112131415
161718 19 202122
23242526272829
30      

[]
Count of members 19 members
Connected : : (nobody)
 

^ Top ^