localhost/
" directory.home.php
and designed it as a landing page.localhost/blog/
" directory.localhost/blog/contact
" is wrong behavior.But every way I tried caused problems like this.
All of these only work as a "single post" way. So " localhost/blog/
" does not contain an archive and will not work. Only the " localhost/blog/post-slug/
" link works.
Is it that difficult to create a blog with an archive page of its own " slug
" in WordPress?
Don't believe you can do it without some serious htaccess manipulations. The permalink structure is set up for either including the 2nd level or not, no in between.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.