admin管理员组文章数量:1420078
I moved my website from localhost to web server. The website works fine. When I explore any page the urls on the website(front-end) are working fine so permalinks are not a problem. Issue is when I click on "Pages" inside url/wp-admin it shows me a not found 404 page.
I figured out the issue is when I click on the pages the url should be:
/wp-admin/edit.php?post_type=page
but when I click the pages it takes me to
/wp-admin/edit?post_type=page
the url automatically removes .php from /wp-admin/edit.php?post_type=page
Even when I manually add .php after edit it is deleted automatically.
I've commented/deleted everything in my htaccess file still it automatically removes .php from edit.php?post_type=page
All other pages are working fine Posts, Category, Media etc. When I click Posts the url it takes me to the following url which is working fine and in this case .php isn't removed automatically
wp-admin/edit.php
Things I've tried:
-Commenting everything in htaccess file.
-Deleting htaccess file.
-Uploading a fresh copy of my localhost wordpress website on server (It works fine on local host)
Summary:
When I click pages in wp-admin I get 404 not found. The reason is the url should be /wp-admin/edit.php?post_type=page but the .php from edit.php?... is automatically removed. All other links are working fine. Posts page url wp-admin/edit.php shows correctly and the .php is not being removed automatically. Anyway I can fix it generally or by changing htaccess file?
本文标签: Pages in wpadmin is not found 404
版权声明:本文标题:Pages in wp-admin is not found 404 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745321855a2653412.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论