Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if the installation of dedecms in the subdirectory of the web station leads to confusion in the layout of the web page?

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail what to do about the web page layout confusion caused by the installation of dedecms in the website subdirectory. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Does the installation of dedecms in the subdirectory of the web site cause confusion in the layout of the web page?

Recently, it was given to a customer c to install dedecms on the Godaddy host. Because the Godaddy host can build multiple websites, it uses subdirectories to bind domain names to build multiple dedecms sites.

However, after the installation of DEDECMS in the subdirectory, there is a big problem, that is, when the domain name bound to the subdirectory is accessed after installation, the framework layout of the site is completely gone, leaving only text links, while access in the form of the main domain name + subdirectory name is normal, changing a lot of settings can not solve the problem, very depressed. For example, my main domain name is www.xxx.com, the subdirectory name of the DEDE installation is aaa, and the domain name bound to this subdirectory is www.yyy.net. After the website is installed, everything is normal to access the website through www.xxx.com/aaa, while the above problem occurs when accessing the website through the bound domain name www.yyy.net. The layout of the website page is completely chaotic and there is no frame display. After bothering me for two days, I finally found a solution on the Internet today and share it with you here.

First choice, enter the dedecms backend management system:

Step 1: enter system Settings-system basic parameters-site Settings, and change the "homepage link" to "/"?

Step 2: enter system Settings-system basic parameters-Core Settings, and change the "DedeCms installation directory" to a null value. ?

Step 3: enter the background home page-update the system cache, check "detect and clean up error documents", and click the "start execution" button.

Step 4: update all the columns and documents of the website.

Step 5: update the home page, preview, and the site returns to normal.

On the web site subdirectory installation of dedecms caused page layout confusion how to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report