简体   繁体   中英

Wordpress permalink one page opens Home instead of actual page

I have following weird problem in Wordpress using permalinks. When I use the default setting for permalinks, everything works just fine. But I want to use the post name as permalink. When using the post name, one link opens the home page instead of the actual page.

Manually changing the permalink in the page settings leads to a 404 Error. I dont think this is the problem but the links form the pages have some similarites:

Home page: www.website.com/name1/

Site with problem: www.website.com/name1/index.php/name1/

What makes it even worse: when i set the parent of the page to home, everything works.

Changing the permalink manually to another string worked in the end.

Might be a bug from wordpress with same names.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM