我想问一下我如何在url中没有/home的情况下访问我的wordpress网站索引(主页),因为目前我可以在url中添加/home时访问我的网站索引。
谢谢!
请转到管理面板
打开:Settings -> Reading并将首页显示设置为静态页面(选择下面)并从首页下拉
中选择您的页面然后保存更改
这可能对你有帮助
www.example.com/home to www.example.com
有两种方法:
Method 1:
>> Login to you admin section area
>> select the Settings -> Reading
>> choose the static page radio box and then select you page which you want to display as a home page in your case it is /home
=======
Method 2:
>> Login to you admin section area
>> select the appearance =>Customize
>> select the Static Front Page and after this you need to to choose A Static page under the Front Page Display and choose you page form the select box.
希望这将为您工作:)