Como Añadir El Codigo Del Mod Rewrite En El Htaccess
Publicado: 25 Oct 2006, 14:06
URL: http://www.pajarracos.es/foro
Plantilla(s) usuada(s): page_header.php, page_footer.php, overall_footer.tpl
MODs instalados: el del sitemap
Version de phpBB: 2.0.21
Servidor: de pago
Hola. Tengo una web con Wordpress y he decidido ponerle un foro.
he instalado el foro y ahora estaba con el MOD rewrite ese. Me pide que añada un codigo en el htaccess pero yo ya tengo en el htaccess lo del modrewrite para el wordpress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.PHP [L]
</IfModule>
y el codigo que me dice que añada es
RewriteEngine On
RewriteBase /
RewriteRule [.]*-vf([0-9]*) viewforum.PHP?%{QUERY_STRING}&f=$1
RewriteRule [.]*-vp([0-9]*) viewtopic.PHP?%{QUERY_STRING}&p=$1
RewriteRule [.]*-vt([0-9]*) viewtopic.PHP?%{QUERY_STRING}&t=$1
RewriteRule [.]*-vc([0-9]*) index.PHP?%{QUERY_STRING}&c=$1
RewriteRule [.]*-ac([0-9]*) album_cat.PHP?%{QUERY_STRING}&cat_id=$1
RewriteRule [.]*-at([0-9]*) album_thumbnail.PHP?%{QUERY_STRING}&pic_id=$1
RewriteRule [.]*-apic([0-9]*) album_pic.PHP?%{QUERY_STRING}&pic_id=$1
RewriteRule [.]*-apm([0-9]*) album_picm.PHP?%{QUERY_STRING}&pic_id=$1
RewriteRule [.]*-full-ASP([0-9]*) album_showpage.PHP?full=&pic_id=$1
RewriteRule [.]*-ASP([0-9]*) album_showpage.PHP?%{QUERY_STRING}&pic_id=$1
RewriteRule [.]*-aper([0-9]*) album_personal.PHP?%{QUERY_STRING}&user_id=$1
RewriteRule [.]*-dc([0-9]*) dload.PHP?%{QUERY_STRING}action=category&cat_id=$1
RewriteRule [.]*-df([0-9]*) dload.PHP?%{QUERY_STRING}action=file&file_id=$1
RewriteRule [.]*-kbc([0-9]*) kb.PHP?%{QUERY_STRING}mode=cat&cat=$1
RewriteRule [.]*-kba([0-9]*) kb.PHP?%{QUERY_STRING}mode=article&k=$1
RewriteRule [.]*-kbsmp kb.PHP?mode=stats&stats=mostpopular
RewriteRule [.]*-kbstr kb.PHP?mode=stats&stats=toprated
RewriteRule [.]*-kbsl kb.PHP?mode=stats&stats=latest
RewriteRule [.]*-pbc([0-9]*) kb.PHP?%{QUERY_STRING}mode=cat&cat=$1
RewriteRule [.]*-pa([0-9]*) kb.PHP?%{QUERY_STRING}mode=article&k=$1
RewriteRule [.]*-psmp kb.PHP?mode=stats&stats=mostpopular
RewriteRule [.]*-pstr kb.PHP?mode=stats&stats=toprated
RewriteRule [.]*-pbsl kb.PHP?mode=stats&stats=latest
RewriteRule [.]*-pbsl kb.PHP?mode=stats&stats=latest
donde tengo que añadir ese codigo? por que dentro.. no, no? he probado muchas formas y nada.
Saludos
Plantilla(s) usuada(s): page_header.php, page_footer.php, overall_footer.tpl
MODs instalados: el del sitemap
Version de phpBB: 2.0.21
Servidor: de pago
Hola. Tengo una web con Wordpress y he decidido ponerle un foro.
he instalado el foro y ahora estaba con el MOD rewrite ese. Me pide que añada un codigo en el htaccess pero yo ya tengo en el htaccess lo del modrewrite para el wordpress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.PHP [L]
</IfModule>
y el codigo que me dice que añada es
RewriteEngine On
RewriteBase /
RewriteRule [.]*-vf([0-9]*) viewforum.PHP?%{QUERY_STRING}&f=$1
RewriteRule [.]*-vp([0-9]*) viewtopic.PHP?%{QUERY_STRING}&p=$1
RewriteRule [.]*-vt([0-9]*) viewtopic.PHP?%{QUERY_STRING}&t=$1
RewriteRule [.]*-vc([0-9]*) index.PHP?%{QUERY_STRING}&c=$1
RewriteRule [.]*-ac([0-9]*) album_cat.PHP?%{QUERY_STRING}&cat_id=$1
RewriteRule [.]*-at([0-9]*) album_thumbnail.PHP?%{QUERY_STRING}&pic_id=$1
RewriteRule [.]*-apic([0-9]*) album_pic.PHP?%{QUERY_STRING}&pic_id=$1
RewriteRule [.]*-apm([0-9]*) album_picm.PHP?%{QUERY_STRING}&pic_id=$1
RewriteRule [.]*-full-ASP([0-9]*) album_showpage.PHP?full=&pic_id=$1
RewriteRule [.]*-ASP([0-9]*) album_showpage.PHP?%{QUERY_STRING}&pic_id=$1
RewriteRule [.]*-aper([0-9]*) album_personal.PHP?%{QUERY_STRING}&user_id=$1
RewriteRule [.]*-dc([0-9]*) dload.PHP?%{QUERY_STRING}action=category&cat_id=$1
RewriteRule [.]*-df([0-9]*) dload.PHP?%{QUERY_STRING}action=file&file_id=$1
RewriteRule [.]*-kbc([0-9]*) kb.PHP?%{QUERY_STRING}mode=cat&cat=$1
RewriteRule [.]*-kba([0-9]*) kb.PHP?%{QUERY_STRING}mode=article&k=$1
RewriteRule [.]*-kbsmp kb.PHP?mode=stats&stats=mostpopular
RewriteRule [.]*-kbstr kb.PHP?mode=stats&stats=toprated
RewriteRule [.]*-kbsl kb.PHP?mode=stats&stats=latest
RewriteRule [.]*-pbc([0-9]*) kb.PHP?%{QUERY_STRING}mode=cat&cat=$1
RewriteRule [.]*-pa([0-9]*) kb.PHP?%{QUERY_STRING}mode=article&k=$1
RewriteRule [.]*-psmp kb.PHP?mode=stats&stats=mostpopular
RewriteRule [.]*-pstr kb.PHP?mode=stats&stats=toprated
RewriteRule [.]*-pbsl kb.PHP?mode=stats&stats=latest
RewriteRule [.]*-pbsl kb.PHP?mode=stats&stats=latest
donde tengo que añadir ese codigo? por que dentro.. no, no? he probado muchas formas y nada.
Saludos