Home  >  Article  >  Topics  >  How to remove index.html from the homepage of the Pagoda Panel Dreamweaver website

How to remove index.html from the homepage of the Pagoda Panel Dreamweaver website

藏色散人
藏色散人forward
2020-04-20 13:47:304755browse

How to remove index.html from the homepage of the Pagoda Panel Dreamweaver website

PagodaA simple way to remove index.html from the homepage of the Panel Dreamweaver website

After Dede generates a static homepage by default, There will be an additional index.html after the link on the homepage of the DreamWeaver website. According to the official statement, this is beneficial to website optimization.

But some people also say that the index.html link on the homepage of the Dreamweaver website is not conducive to the unification of the homepage URL in SEO, because adding index.html after the domain name and not adding it are two completely different links, which will easily distract the homepage. the weight of.

How to remove index.html from the homepage of the Pagoda Panel Dreamweaver website

I am not specialized in SEO technical optimization, and I don’t know much about it, but one thing is certain:

Search engines will be more friendly to static html pages , so static homepage files are easier to be included. However, generating static files and displaying index.html in the browser address bar are completely different things.

After the website is completed, try to make a sitemap. All links of the website will be displayed, but the homepage link ending in index.html is not found among these links (a static homepage file is generated). It seems that the idea of ​​dispersing the weight of the homepage is unreliable.

So I think the default homepage has no impact on seo.

Before I encountered this problem, I didn’t think it was anything. But after seeing this problem, I looked at the homepage of the website. After opening it, there was indeed an index.html, and I felt uncomfortable no matter how I looked at it. Because my website uses 301 to jump to the com domain name with www, I have to do it thoroughly since I want to do it. For aesthetic reasons, the index.html on the homepage of the Dreamweaver website must be removed.

There are many methods mentioned on the Internet, but the simple and effective method is to change the default homepage order of the DreamWeaver website and put index.html at the front.

Open the Pagoda panel, click on the default document, put index.html on the first line, click Add, and then open the homepage of the Dreamweaver website, index.html will not be displayed. If it is still there, then Just clear the browser cache.

How to remove index.html from the homepage of the Pagoda Panel Dreamweaver website

For more Pagoda panel technical articles, please visit the Pagoda tutorial column: //m.sbmmt.com/topic/bt /

The above is the detailed content of How to remove index.html from the homepage of the Pagoda Panel Dreamweaver website. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete