SEO URL Discuz X1.5

Demo: http://discuzviet.net/thread/discuz-x-1-5-viet-hoa-951-1-1.html and thebbs using
Seo Name Box: http://discuzviet.net/68-1/discuz-x1-x1-5.html
Seo Name theread: http://discuzviet.net/thread/discuz-x-1-5-viet-hoa-951-1-1.html

 Download file function_core.php upload to \source\function\Creat file .htaccess vs content upload to root forum



<Files ~ "^\.(htaccess|htpasswd)[ DISCUZ_CODE_0 ]quot;>
deny from all
</Files>
# RewriteEngine
RewriteEngine On


RewriteBase /


# Rewrite
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^topic-(.+)\.html$ portal.php?mod=topic&topic=$1&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^article-([0-9]+)-([0-9]+)\.html$ portal.php?mod=view&aid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^(\w+)-([0-9]+)/(.*)\.html$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^thread/(.*)-([0-9]+)-([0-9]+)-([0-9]+)\.html$ forum.php?mod=viewthread&tid=$2&extra=page\%3D$4&page=$3&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^group-([0-9]+)-([0-9]+)\.html$ forum.php?mod=group&fid=$1&page=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^space-(username|uid)-(.+)\.html$ home.php?mod=space&$1=$2&%1
RewriteCond %{QUERY_STRING} ^(.*)$
RewriteRule ^([a-z]+)-(.+)\.html$ $1.php?rewrite=$2&%1
Copy

AdminCP >> All >> Seo
Changer


Sace and update cache
You have read this article with the title SEO URL Discuz X1.5. You can bookmark this page URL https://angryblackmf.blogspot.com/2011/08/seo-url-discuz-x15.html. Thanks!

No comment for "SEO URL Discuz X1.5"

Post a Comment