Respuesta a: Permalinks de bbPress

Inicio Foros Otros WordPress y similares bbPress – TalkPress Permalinks de bbPress Respuesta a: Permalinks de bbPress

#24710

imported_Fernando
Participante

Tienes que modificar el fichero (o crearlo) htaccess del foro.

El mío es este, solo tienes que cambiar la ruta "/foro" por la tuya:

Options -MultiViews

[quote][code]<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /foro/
RewriteRule ^page/([0-9]+)/?$ /foro/index.php?page=$1 [L,QSA]
RewriteRule ^forum/([^/]+)/page/([0-9]+)/?$ /foro/forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^forum/([^/]+)/?$ /foro/forum.php?id=$1 [L,QSA]
RewriteRule ^forum/?$ /foro/ [R=302,L,QSA]
RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /foro/topic.php?id=$1&page=$2 [L,QSA]
RewriteRule ^topic/([^/]+)/?$ /foro/topic.php?id=$1 [L,QSA]
RewriteRule ^topic/?$ /foro/ [R=302,L,QSA]
RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ /foro/tags.php?tag=$1&page=$2 [L,QSA]
RewriteRule ^tags/([^/]+)/?$ /foro/tags.php?tag=$1 [L,QSA]
RewriteRule ^tags/?$ /foro/tags.php [L,QSA]
RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ /foro/profile.php?id=$1&page=$2 [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)/?$ /foro/profile.php?id=$1&tab=$2 [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ /foro/profile.php?id=$1&tab=$2&page=$3 [L,QSA]
RewriteRule ^profile/([^/]+)/?$ /foro/profile.php?id=$1 [L,QSA]
RewriteRule ^profile/?$ /foro/profile.php [L,QSA]
RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ /foro/view.php?view=$1&page=$2 [L,QSA]
RewriteRule ^view/([^/]+)/?$ /foro/view.php?view=$1 [L,QSA]
RewriteRule ^rss/?$ /foro/rss.php [L,QSA]
RewriteRule ^rss/topics/?$ /foro/rss.php?topics=1 [L,QSA]
RewriteRule ^rss/forum/([^/]+)/?$ /foro/rss.php?forum=$1 [L,QSA]
RewriteRule ^rss/forum/([^/]+)/topics/?$ /foro/rss.php?forum=$1&topics=1 [L,QSA]
RewriteRule ^rss/topic/([^/]+)/?$ /foro/rss.php?topic=$1 [L,QSA]
RewriteRule ^rss/tags/([^/]+)/?$ /foro/rss.php?tag=$1 [L,QSA]
RewriteRule ^rss/profile/([^/]+)/?$ /foro/rss.php?profile=$1 [L,QSA]
RewriteRule ^rss/view/([^/]+)/?$ /foro/rss.php?view=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ /foro/index.php [L]
</IfModule>[/code]
[/quote]

Pin It on Pinterest