重命名https://example.com/index.html具有页面名称



我目前在Hostinger上托管我的网站,我有一个小问题。Mmy URL现在是这样的:https://example.com/home.html和我想用页面名称替换home.html

我不确定你是指https://example.com/home还是https://example.com/,所以我解释了两者:

  1. https://example.com/home:
    要使其看起来像这样,只需创建一个名为"的文件夹;家";。然后将home.html放入该文件夹,并将其重命名为index.html

  2. https://example.com/:
    只需将您的home.html重命名为index.html即可。

注意:在public_html文件夹中执行此操作。

相关内容

最新更新