我目前在Hostinger上托管我的网站,我有一个小问题。Mmy URL现在是这样的:https://example.com/home.html
和我想用页面名称替换home.html
我不确定你是指https://example.com/home
还是https://example.com/
,所以我解释了两者:
-
https://example.com/home
:
要使其看起来像这样,只需创建一个名为"的文件夹;家";。然后将home.html
放入该文件夹,并将其重命名为index.html
-
https://example.com/
:
只需将您的home.html
重命名为index.html
即可。
注意:在public_html
文件夹中执行此操作。