Login background Open background global, SEO settings, url static Select all Submit
Upload the rules to the Web directory (forum root directory)
Modify the/http://www.aliyun.com/zixun/aggregation/11656.html in the following statement ">discuz for your forum directory address, if the program is placed in the root directory, please change/discuz to/
# Open Rewriteengine mode rewriteengine on # Modify the/discuz in the following statement for your forum directory address, if the program is placed in the root directory, please change/discuz to/ Rewritebase/ # Rewrite System rules do not modify 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 ^forum-(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=$1&extra=page%3d$3&page=$2&%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 ^archiver/(Fid|tid)-([0-9]+). html$ archiver/index.php?action=$1&value=$2&%1 Rewritecond%{query_string} ^ (. *) $ Rewriterule ^blog-([0-9]+)-([0-9]+). html$ home.php?mod=space&uid=$ 1&do=blog&id=$2&%1
Create a notepad, copy the code to save it, and then rename the Notepad. htaccess Front with Dot
Then uploaded to the root directory of the virtual host via FTP
Hong Kong virtual space, US VPS, Hong Kong VPS, US space, free of record space http://www.56dr.com
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.