From the perspective of website weight, there is no doubt that http://www.anystandards.com/iso has a higher weight than http://www.anystandards.com/iso/index.html.
In version dede5.3, the default is the type of connection http://www.anystandards.com/iso/index.html.
Then we will change it manually to achieve the goal of http://www.anystandards.com/iso.
Check out the demo: www.anystandards.com
5.3 is different from 5.1 because the files to be modified are different.
Find the file /include/channelunit.func.php
Find it here:
function GetTypeUrl($typeid,$typedir,$isdefault,$defaultname,$ispart,$namerule2,$moresite=0,$siteurl='',$sitepath='')
{
$typedir = MfTypedir($typedir);
$sitepath = MfTypedir($sitepath);
if($isdefault==-1)
{
//dynamic
$reurl = $GLOBALS['cfg_phpurl']."/list.php?tid=".$typeid;
}
else if($ispart==2)
{
Add the following code before if($isdefault==-1) :
if($ispart>2){
return $typedir;
}
if($defaultname == 'index.html'){
$defaultname = '';
}
//Get the URL link of the specified category
//Force the default page name when using cover files and separate pages
Save after modification. You can update the homepage first and see if the effect is achieved, then you can update the entire website.