admin管理员组文章数量:1323330
I am posting data in wordpress but after click on public it is showing
This is somewhat embarrassing, isn’t it? It seems we can’t find what you’re looking for. Perhaps searching, or one of the links below, can help.
I dont have any idea how to resolve this. I am using wordpress4.1 Screenshots
After click on publish
I am posting data in wordpress but after click on public it is showing
This is somewhat embarrassing, isn’t it? It seems we can’t find what you’re looking for. Perhaps searching, or one of the links below, can help.
I dont have any idea how to resolve this. I am using wordpress4.1 Screenshots
After click on publish
Share Improve this question edited Apr 7, 2015 at 10:40 Pieter Goosen 55.4k23 gold badges115 silver badges210 bronze badges asked Feb 27, 2015 at 5:29 xrcwrnxrcwrn 531 silver badge9 bronze badges 12- Could you please attach some screenshot so we can have an idea of your issue? – jepser Commented Feb 27, 2015 at 5:34
- You will need to give more info on this. From what you have given, I can only speculate that you are using custom post types which is excluded from the main query, and this will lead to the failure you are seeing visiting your homepage – Pieter Goosen Commented Feb 27, 2015 at 5:35
- @PieterGoosen ,@jepser Please see the edit – xrcwrn Commented Feb 27, 2015 at 5:46
- That does not help at all. My question is, are you using custom post types? If not, then it is impossible to say what is causing this, and might be theme related, something in the region of a custom filter, bad template file ... – Pieter Goosen Commented Feb 27, 2015 at 7:31
- NO not using custom post types – xrcwrn Commented Feb 27, 2015 at 9:16
5 Answers
Reset to default 1Please reset your permalink. Go to http://yourdomain/wp-admin/options-permalink.php
and just click Save Changes
button.
Edited: Try these steps:
- Make sure the homepage exists. Go to
Settings > Reading options
, see which page is used for homepage and check this page's status. - Update WordPress. Keep backup before you proceed.
- Check each of the plugins. Deactivate and re-activate one by one and see what happens.
- It may happen that modSecuriy process is checking the wp-admin and the input of data. Edit the modsecurity whitelist-
vi /usr/local/apache/conf/modsec2/whitelist.conf
Add this code
<LocationMatch "/wp-admin/*">
SecRuleEngine Off
</LocationMatch>
then restart apache. /etc/init.d/httpd restart
This is can be because of following reasons.
1.Premalink problem. Go to settings -> permalinks and set to default. save and check if post is now showing. If its working fine then reset premalink structure to desired one (like postname), save and check.
2.rewrite problem in .htaccess file Check if url is re-written in htaccess file or if it is then it rewrite rule is proper.
3.Url rewrite from functions.php file Check if urls are overridden in function.php file.
4.Post is in draft or not set to public
Goto settings -> permalinks option and change the common settings. Check the post again.
If this does not work then check the .htaccess file.
Did you enable WP_Debug
?
- Go to File Manager.
- Locate the
wp-config.php
file for your WordPress website. - Click Edit for the
wp-config.php
file. To enable
WP_Debug
, add the following code to the end of the file:/** * WordPress Debugging * * Set to "true" to enable wp_debug. Set to "false" to disable. * Do not include quotes when setting to "true" or "false". */ define( 'WP_DEBUG', true );
Well i had something similar and i was banging my head why when i was editing an existing post it was fine but when i was doing one on my own it was simple ... " not found "
The "key" is the slug, since i am from Greece , using Greek letters for my posts and subsequently the slug was "getting" the Greek heading it would simply won't work.
Changing slug to Latin letters was the key to "success"
本文标签: postsPublished content not displayinggetting not found message
版权声明:本文标题:posts - Published content not displaying, getting not found message 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742138772a2422486.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论