Friends who have just used DedeCMS to build websites may have noticed that our website domain name has a suffix of index.html. Many people don’t know what it is for and don’t care about it. However, you may not know that it affects the ranking of your website invisibly. Editor Feng Chao of Dongguan SEO also heard this at an offline exchange meeting. After coming back, I did several experiments and found that it was indeed the case. So how do we solve this problem? How to remove the domain name suffix index.html? How to remove the domain name suffix index.html in the dedecms DreamWeaver template? 1. If the homepage does not need to generate HTML, log in to FTP and open index.php to change the original code (as follows): if(!file_exists(dirname(__FILE__)."/data/common.inc.php")) 2. The second method: Many users want the top navigation link to facilitate SEO, and need to remove the "index.html" in the hyperlink. We can modify the tag here: {dede:channel type="top"} 3. The third method: After the homepage is generated statically, change index.php to index.php_ or index-.php, etc., as you wish. As long as it is not index.php, it is OK. How about it? Has the problem of how to cancel and remove the domain name suffix index.html in the dedecms DreamWeaver template been solved? |
<<: What is a dead link? What does a dead link mean?
>>: How to do Baidu search drop-down box keywords and related searches?
Recently, Tencent Mobile QQ has launched version ...
Video account to promote health tea practical pro...
Recently, according to US media reports on Novemb...
When it comes to tooth extraction, everyone is fa...
Between bidding promotion and information flow ad...
A few years ago, the topic of legal personhood an...
Expert in this article: Shi Libin, Director of th...
The first wave of marketing boom in 2022 was born...
iFixit has just shared a teardown report of the i...
Blue V is a service function specially developed ...
On October 11, according to foreign media reports...
The factors affecting the quotation of Yichun und...
I once had the following conversation with a read...
In 2016, the App Store often did some confusing th...
[September 9th news] Recently, Nissan released a s...