最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

home url - Set a specific page as homepage

programmeradmin3浏览0评论

I use DIVI and i need to have a custom page (build with theme builder) set as the homepage. there is no shortcode available for this page, so i use a simple redirection ex www.myste/ ---> www.mysite/prodcut/myproduct/ i guess thers is a better way to achieve that, maybe wp-config or functions.php... any ideas please ?

I use DIVI and i need to have a custom page (build with theme builder) set as the homepage. there is no shortcode available for this page, so i use a simple redirection ex www.myste/ ---> www.mysite/prodcut/myproduct/ i guess thers is a better way to achieve that, maybe wp-config or functions.php... any ideas please ?

Share Improve this question asked Aug 10, 2020 at 14:17 Augustin AubertAugustin Aubert 1 2
  • You can do this using the general settings, there's no need to write code, just go into the options pages under settings in WP Admin and choose that page as your homepage – Tom J Nowell Commented Aug 10, 2020 at 14:44
  • Is the page you want to set as a homepage a page, or a product? There's a big difference between the two. – Jacob Peattie Commented Aug 11, 2020 at 7:48
Add a comment  | 

1 Answer 1

Reset to default 0

In Settings > Reading you can choose any Page to be displayed as your home page.

发布评论

评论列表(0)

  1. 暂无评论