Illegal websites should not initiate any form of manual service requests to our staff. It is strictly prohibited to use honmau Media's technical support services and products to engage in any illegal activities. If discovered, no technical support will be provided. ×
Current location:home> news > help and support

Operation and maintenance technical services

Response time:10 minutes

How to handle problems:1-on-1 manual technical services

Working hours:Monday to Saturday 8:30-22:00

Business scope:

Website development Mini programs development Discuz operation and maintenance

Baota Operation and Maintenance Website Operation and Maintenance SSL Certificates

Operation and maintenance technology can solve difficult problems for you

search first

recommend

Baota Linux Professional Edition

It includes 13 professional version plug-ins worth more than 3500 yuan, including Web Application Firewall, website monitoring reports and exception monitoring push.

  • Baota system reinforcement
  • Website tamper-proof program
  • Nginx Firewall
  • Website Monitoring Report
advertising

Discuz! 3.5 Remove forum navigation bar forum. php tutorial

Discuz! 3.5 The forum wants to remove the forum.php suffix from the navigation bar. The following is an operation tutorial. You can back up and modify it before modifying it.

1. Modify the server pseudo-static rules

1. Apache(.htaccess)

Replace or add the following rules to the.htaccess file in the root directory of the website:

RewriteEngine On

#Map root path/to forum.php (silent rewrite, no redirection)

RewriteRule ^$ forum.php [L]

#Keep the original Discuz pseudo-static rules (keep other pages normal)

RewriteCond %{REQUEST_FILENAME} !- f

RewriteCond %{REQUEST_FILENAME} !- d

RewriteRule ^(.*)$ forum.php?$ 1 [L,QSA]

2. Nginx

Modify pseudo-static rules in the server block configured by the site:

location / {

# 根路径直接代理到forum.php

if ($request_uri ~ ^/$) {

rewrite ^(.*)$ /forum.php last;

    }

# 保留其他Discuz规则

    if (!- e $request_filename) {

rewrite ^/(.*)$ /forum.php?$1 last;

    }

}

Discuz! 3.5论坛导航栏去除forum.php教程

Restart the server for the configuration to take effect.

2. Modify Discuz background settings

1. Enter the interface → Navigation Settings → Main Navigation

2. Find the "Home" navigation item and change its link to/

3. After saving the settings, update the cache (background → tools → update the cache)

Discuz! 3.5论坛导航栏去除forum.php教程

Scan mobile WeChat

Continue reading immediately in the Mini programs

© Website copyright and disclaimer

1.[honmau Media] independently owns the copyright of all materials on relevant pages of this website;

2. No one is allowed to copy it without the express written permission of [honmau Media];

3. The articles that do not indicate "honmau Media" on this website are all from the Internet and are only for everyone to learn and refer;

4. If there is any infringement/violation/irregularity, please contact customer service QQ or email to delete it, please understand;

5.[honmau Media] reserves the right to correct, modify and update this statement at any time.legal notice

Recently, do you want to customize and develop a Mini programs/website/hosted operation and maintenance service?
submission
Working days: 8:30 - 22:00  Online QQ customer service

customer service

Company Introduction
top