I was creating a new Page today on a Crazydomains hosted WordPress Website. The content all looked fine in the WYSIWYG editor however when publishing and viewing the new Page in a Browser the Page content was gone. The sidebars, heading, Page title and so on were all visible but not any of the content added to the editor. It was incredibly frustrating as I even reversed the changes I’d made to the Page however I still couldn’t see any of the Page content.
Why no WordPress Page or Post Content
The reason for the Page/Post content not showing is likely because of a PHP setting being too low. The setting is the pcre.backtrack_limit directive which by default is set at a low ‘100000’. If you have a phpinfo.php file and check it you’ll likely see the directive set at 100000 for both the Local Value and Master Value. BTW, the low limit problem doesn’t only affect WordPress as other PHP based apps (e.g. Drupal) have similar problems.
How to get rid of the no Content Problem
Fortunately it’s quick and easy to increase the pcre.backtrack_limit directive limits for your host account and see your WordPress Page content again:
- Create a file called php.ini using a text editor (I use Notepad++ which is excellent).
- Insert the following into php.ini and save:
- Copy php.ini to the folder on your host where WordPress is installed