##/************************************************** ## Coppermine 1.5.x Plugin - sef_urls ## ************************************************* ## Copyright (c) 2003-2007 Coppermine Dev Team ## ************************************************* ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 3 of the License, or ## (at your option) any later version. ## ******************************************** ## $HeadURL: https://coppermine.svn.sourceforge.net/svnroot/coppermine/branches/cpg1.5.x/plugins/sef_urls/ht-spanish.txt $ ## $Revision: 7195 $ ## $LastChangedBy: timoswelt $ ## $Date: 2010-02-03 17:58:36 +0100 (Mi, 03 Feb 2010) $ ## **************************************************/ #Options FollowSymLinks SymLinksIfOwnerMatch RewriteEngine on # Uncomment the following line if your webserver's # URL is not directly related to physical file paths. # Update "YOUR_COPPERMINE_ROOT" (just / for root) #RewriteBase /YOUR_COPPERMINE_ROOT # # Language translation # RewriteRule busca.html(.*) search.php$1 [NC] RewriteRule contacto.html(.*) contact.php$1 [NC] RewriteRule (.*)mejor(.*) $1toprated$2 [NC] RewriteRule (.*)querido(.*) $1topn$2 [NC] RewriteRule (.*)comentarde(.*) $1lastcomby$2 [NC] RewriteRule (.*)comentar(.*) $1lastcom$2 [NC] RewriteRule (.*)pagina(.*) $1page$2 [NC] RewriteRule (.*)usuariolistado(.*) $1usermgr$2 [NC] RewriteRule (.*)usuario(.*) $1profile$2 [NC] RewriteRule (.*)resumen(.*) $1thumbnails$2 [NC] RewriteRule (.*)cromo(.*) $1displayimage$2 [NC] RewriteRule (.*)nuevode(.*) $1lastupby$2 [NC] RewriteRule (.*)nuevo(.*) $1lastup$2 [NC] RewriteRule (.*)presentacion(.*) $1slideshow$2 [NC] RewriteRule (.*)busca(.*) $1search$2 [NC] RewriteRule (.*)alto(.*) $1top_display_media$2 [NC] # # Rewrite usrmgr urls # RewriteRule usermgr-page-([0-9]*).html(.*) usermgr.php?page=$1$2 [NC] RewriteRule usermgr.html(.*) usermgr.php$1 [NC] # # Rewrite index urls # RewriteRule index.html(.*) index.php$1 [NC] RewriteRule index-([0-9]*)\.html(.*) index.php?cat=$1$2 [NC] RewriteRule index-([0-9]*)-page-([0-9]*)\.html(.*) index.php?cat=$1&page=$2$3 [NC] # # Rewrite thumbnail urls # RewriteRule thumbnails-lastupby-([0-9]+)\.html(.*) thumbnails.php?album=lastupby&uid=$1$2 [NC] RewriteRule thumbnails-lastcomby-([0-9]+)\.html(.*) thumbnails.php?album=lastcomby&uid=$1$2 [NC] RewriteRule thumbnails-lastupby-([0-9]+)-([0-9]+)-page-([0-9]+)\.html(.*) thumbnails.php?album=lastupby&cat=$1&uid=$2&page=$3$4 [NC] RewriteRule thumbnails-lastcomby-([0-9]+)-([0-9]+)-page-([0-9]+)\.html(.*) thumbnails.php?album=lastcomby&cat=$1&uid=$2&page=$3$4 [NC] RewriteRule thumbnails-([a-z0-9]*)-([\-]?[0-9]*)\.html(.*) thumbnails.php?album=$1&cat=$2$3 [NC] RewriteRule thumbnails-([a-z0-9]*)-page-([0-9]*)\.html(.*) thumbnails.php?album=$1&page=$2$3 [NC] RewriteRule thumbnails-([a-z0-9]*)-([\-]?[0-9]*)-page-([0-9]*)\.html(.*) thumbnails.php?album=$1&cat=$2&page=$3$4 [NC] RewriteRule thumbnails-([0-9a-z]*)\.html(.*) thumbnails.php?album=$1$2 [NC] RewriteRule thumbnails-search-(.*)\.html(.*) thumbnails.php?album=search&search=$1$2 [NC] # # Rewrite displayimage urls # RewriteRule displayimage-lastcom-([\-]?[0-9]+)-([\-]?[0-9]+)-([\-]?[0-9]+)-page-([\-]?[0-9]+).html(.*) displayimage.php?album=lastcom&cat=$1&pid=$2&msg_id=$3&page=$4$5 [NC] RewriteRule displayimage-([a-z0-9]+)-([\-]?[0-9]+)-([\-]?[0-9]+)-([\-]?[0-9]+)-([\-]?[0-9]+)-([\-]?[0-9]+)\.html(.*) displayimage.php?album=$1&cat=$2&pid=$3&uid=$4&msg_id=$5&page=$6$7 [NC] RewriteRule displayimage-([a-z0-9]+)-([\-]?[0-9]+)-([\-]?[0-9]+)-([\-]?[0-9]+)\.html(.*) displayimage.php?album=$1&cat=$2&pid=$3&uid=$4$5 [NC] RewriteRule displayimage-([a-z0-9]+)-([\-]?[0-9]+)-([\-]?[0-9]+)\.html(.*) displayimage.php?album=$1&cat=$2&pid=$3$4 [NC] RewriteRule displayimage-([a-z0-9]+)-([\-]?[0-9]+)\.html(.*) displayimage.php?album=$1&pid=$2$3 [NC] RewriteRule displayimage-([0-9]+)\.html(.*) displayimage.php?pid=$1$2 [NC] # # Rewrite users profiles # RewriteRule profile-op-([a-z0-9_]+)\.html(.*) profile.php?op=$1 [NC] RewriteRule profile-([0-9]+)\.html(.*) profile.php?uid=$1$2 [NC]