discuz! X2.5 installation and URL static setting techniques in Blueshost

Source: Internet
Author: User
Keywords discuz!

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

I have been using the blushost, recently want to do a forum. It's a discuz!. X2.5 version of the source code. has been successfully erection, and debugging success. discuz! X2.5 functions can be realized. Some installation techniques are now shared:

1, download discuz! X2.5 source code compression package. Then unzip it locally. After decompression, there are three folders, Readme upload and utility.

2, we open the Upload folder and select all files, compressed into a ZIP format compressed package. Then upload to your site root directory. That is, you bind the domain name after the success of the automatic generation of a domain name folder, the compression package uploaded to the inside can be.

3, Zip compression package decompression. Here is a description, Bluehost support ZIP compression package upload and decompression. RAR format is not supported. The ZIP compression package must be used for uploading and decompression. Upload up to select the compressed package, right click to select "Extract" can be decompressed completed.

4, open the browser, in the address bar input: Your domain address can be. Then go to the installation page. Don't move here for the moment, just look at the next step.

5, enter the Bluehost host panel, select the first mysqldatabases under the Databases bar, click Enter.

6, in the Create New database column, enter the name you want to establish, and then continue to look below after the successful creation. Add new users under the MySQL users bar. That is, add New User. Enter the username and password you want to add. Then proceed to the next step. User and database bindings. Under the Add user to database column, select the databases and user names you just created, and then select Add, and in the page that pops up, select all the options. Which is the feature you want to authorize users to use. All recommendations are selected. Then confirm that the add is complete.

7. After database creation and user name binding, go back to step 4th. Enter the database name and user name that you just created in the database name and user name. Notice here that the data name is the underscore and the previous letters. Fill it up together.

8, other on the installation program to go on it. The forum was successfully installed.

Another: discuz! X2.5 is supported for pseudo static. That is to support URL statics. So how do we set it?

Enter the root directory of your site, that is, enter your domain name folder. Create a. htaccess file when you open it. The contents of the file are: (The following content is copied directly to add).

# use PHP5 single php.ini as default

AddHandler application/x-httpd-php5s. php

# 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 ^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

This article by purchasing 1987 Taobao Purchase online forum (http://www.daigou1987.com) Webmaster Original, please respect the results of the workers, reproduced please keep the link, thank you!

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.