Home > CMS Tutorial > DEDECMS > Installing dedecms in a website subdirectory causes confusion in web page layout

Installing dedecms in a website subdirectory causes confusion in web page layout

藏色散人
Release: 2019-12-07 09:50:31
Original
2828 people have browsed it

Installing dedecms in a website subdirectory causes confusion in web page layout

Installing dedecms in a website subdirectory causes confusion in the web page layout?

Recently, I installed dedecms on the Godaddy host for a client c. Because the Godaddy host can build multiple websites, I used subdirectories to bind domain names to create multiple dedecms sites.

Recommended study: 梦Weavercms

However, after installing DEDECMS in the subdirectory, a big problem occurred, that is, when accessing the website through the domain name bound to the subdirectory after installation, the website The frame layout is completely gone, leaving only text links. However, accessing through the main domain name and subdirectory name is normal. I have changed many settings but cannot solve the problem, which is very frustrating. For example, my main domain name is www.xxx.com, the name of the subdirectory installed by DEDE is aaa, and the domain name bound to this subdirectory is www.yyy.net. After the website is installed, through www.xxx.com/ Everything is normal when aaa accesses the website, but when accessing through the bound domain name www.yyy.net, the above problem occurs. The layout of the website page is completely chaotic and no frame is displayed. After this problem bothered me for two days, I finally found a solution online today, and I would like to share it with you here.

The first choice is to enter the dedecms background management system:

The first step: Enter the system settings - basic system parameters - site settings, change the "Web page home link" to "/"?.

Installing dedecms in a website subdirectory causes confusion in web page layout

Step 2: Enter System Settings-Basic System Parameters-Core Settings, and change the "DedeCms installation directory" to an empty value. ?

Installing dedecms in a website subdirectory causes confusion in web page layout

Step 3: Enter the background homepage - update the system cache, check "Detect and clean up error documents", and click the "Start Execution" button.

Installing dedecms in a website subdirectory causes confusion in web page layout

Installing dedecms in a website subdirectory causes confusion in web page layout

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

Step 5: Update the homepage, preview, and the website will return to normal.

It took me five hours to figure this out! ! Before, it was all direct code, but I took a detour

The above is the detailed content of Installing dedecms in a website subdirectory causes confusion in web page layout. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template