Utilizo Discuz para activar la URL. Una vez que se vuelve estática, la página no se puede abrir. Por favor, deme una respuesta de un experto en Discuz.
Las reglas anteriores son para el host Apache. Ya que usted es el host IIS, debe hacer esto
Cree un archivo httpd.ini (tenga en cuenta la extensión), use Abra el. editor de texto y agregue contenido en él:
[ISAPI_Rewrite]
# 3600 = 1 hora
CacheClockRate 3600
RepeatLimit 32 p>
# Proteger los archivos httpd.ini y httpd.parse.errors
# del acceso a través de HTTP
RewriteRule ^(.*)/topic-(.+ )\ .html(\?(.*))*$ $1/portal\.php\?mod=topic&topic=$2&$4
RewriteRule ^(.*)/article-([0-9 ]+ )-([0-9]+)\.html(\?(.*))*$ $1/portal\.php\?mod=view&aid=$2&page=$3&$5
RewriteRule ^ (.*)/forum-(\w+)-([0-9]+)\.html(\?(.*))*$ $1/forum\.php\?mod=forumdisplay&fid=$2&page= $3& $5
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html(\ ?( .*))*$ $1/forum\.php\?mod=viewthread&tid=$2&extra=page\%3D$4&page=$3&$6
RewriteRule ^(.*)/group-( [0 -9]+)-([0-9]+)\.html(\?(.*))*$ $1/forum\.php\?mod=group&fid=$2&page=$3&$5
RewriteRule ^(.*)/blog-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/home\.php\ ?mod =espacio&uid=$2&do=blog&id=$3&$5
RewriteRule ^(.*)/(fid|tid)-([0-9]+)\.html(\?(.* )) *$ $1/índice\.php\?action=$2&valor=$3&$5