magento2: Pages not displayed on frontend 2.1.2

Preconditions (*)

Magento 2.4-develop

Steps to reproduce (*)

  1. Make sure Cache is enabled
  2. Go to Content -> Pages
  3. Create new page, with enabeld option
  4. View page on FE (you should see page content)
  5. Go back to the same page and disable it and save.
  6. View page on FE (it is not visible)
  7. Go to that page on BE and enable it and save.

Expected result (*)

CMS page is visible on FE.

Actual result (*)

CMS Page is not visible on FE after saving with Disabled option and Full Page Cache enabled.


Additional information After clearing Full Page Cache desired page is visible on FE.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 1
  • Comments: 27 (5 by maintainers)

Commits related to this issue

Most upvoted comments

Let’s disable Google Analytic in the SALES tab, you will be able to edit page. For more information, please check this blog post 😃

Hello, I was experiencing some very similar issues and will share my two cents.

Magento CE 2.1.2, PHP 7, MySQL 5.6, CentOS 7 Started new at CE 2.0, recently upgraded a few times to 2.1.2. Third party modules disabled.

I created a new page via the backend, and it would not show up on the frontend. 404s every time - even after server reboot, static compilation, upgrade to latest available dependencies (11/22/16), disable caching, manual run indexing. New products were OK, and old CMS pages were OK. No frontend javascript errors. Nothing in exception.log. I was receiving the Magento 404.

The issue ended up being what I believe is a new feature in v2.1 - allowing CMS pages to be linked to multiple storeviews (You can now assign a CMS page to multiple storeviews | v2.1 release notes).

I run a single store, so I had previously enabled Single-Store Mode (Stores->Config->General). Because this was enabled, I wasn’t getting the correct options on the Content -> Pages -> Add/Edit. Specifically, I was missing “Pages in Websites”. Without that option, the pages were getting saved but without an entry for that field. No insert was performed into table ‘url_rewrites’.

I disabled single store mode and was able to see the correct options. I chose the correct store view and everything works fine.

I believe this may be relevant because the OP submission also lacks the ‘Store View’ column.

image capture