How does dedecms enable the second-level domain name and batch change the problem of not displaying images and attachments?

Source: Internet
Author: User
Tags bind

Step 1,
System]-[basic system parameters]. In the core settings, "(yes/no) supports multiple sites, after this option is enabled, the attachment, column connection, and arclist content enable absolute URL "option is enabled.
Step 2,
Bind a second-level domain name in topic settings. In the system background [core]-[website topic management], edit the information for the section "webpage template. In the advanced options section, we first enable multi-site support and bind the domain name
Input domain my http://mb.111cn.net
Step 3: replace the image address in the content. Do not display images and attachments under mb.111cn.net.
Go to the background-core-batch maintenance-replace the database tutorial content
Select the dede_addonarticle field body.
Replaced by src = "/uploads/
Replace with: src = "http://down.111cn.net/uploads/

All right, generate all the pages and bind them to cms,
Step 4: bind a domain name
In your domain name management center, point mb.111cn.net to your server,
Then, bind the current domain name to the directory where you want to enable the second-level domain name on your server, which will result in great efforts.

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.